Plank rotation and intermediate connection!
We have made some progress regarding the rotation of the planks. In our previous blogg posts the planks of the bridge have had a locked rotation. Using the function AddForceAtPosition from Unitys build in rigidbody solution, we managed to connect our own springs to the corners of the plank causing the rotation of the planks to act in a more normal fashion than they did before! See the videos below for the improvement in behaviour of the bridgeplanks.
Before:
Before:
After:
We have also connected the appropriate plank edges together making the planks follow eachother. For example if one plank is hit by an object and gets dragged down, the others will follow (see video below). Oh and don´t mind the falling red robot in the background :)
A challenge that waits us ahead is to integrate all the different systems (springs, wind, planks breaking) into one project in Unity, this is due us team members on this project working on different systems in parallell. We are also considering implementing our own rigidbody system for the simulation.
Kommentarer
Skicka en kommentar