A very basic wind simulation!
We have recently implemented a very basic wind-system for our project.
Unity has its own built in Wind Zone components that can be added to terrains.
However, there is no built in wind-components that affect rigid bodies or simple game-objects.
Hence we decided to implement our own implementation of wind in unity.
Wind Implementation on Rigidbodies in Unity:
3D forces with fixed magnitude and direction are applied on the planks (rigid bodies) of the bridge.This is done with Unity's built in addForce-function and will make the bridge sway in a wind like motion.
See gif below:
Kommentarer
Skicka en kommentar