An early prototype of the rope bridge!
Using the script for spring system between to Objects as we did in the last blogg entry, we made a first prototype of how our bridge might look. Using multiple spheres connected via springs with different resting distances we ended up with something like this:
After making this very simple prototype we decided to make it a little better with planks that can handle collision (via box colliders) and more spring forces connected to each plank to make it more stable. We also connect each plank to its plank "neighbors" via a spring. Note that in order for the planks to not smash together we restricted the planks movement in the z-plane. Now the prototype look like this:
Challenges that awaits us ahead are, among others, to figure out how we want our planks of the bridge to be connected to the springs that hold them up. As of now we have locked the rotation of the planks and connect springs to the center of the planks. It would be great if we could have one spring connected to each corner of the planks, so that the planks can rotate naturally.
After making this very simple prototype we decided to make it a little better with planks that can handle collision (via box colliders) and more spring forces connected to each plank to make it more stable. We also connect each plank to its plank "neighbors" via a spring. Note that in order for the planks to not smash together we restricted the planks movement in the z-plane. Now the prototype look like this:
Challenges that awaits us ahead are, among others, to figure out how we want our planks of the bridge to be connected to the springs that hold them up. As of now we have locked the rotation of the planks and connect springs to the center of the planks. It would be great if we could have one spring connected to each corner of the planks, so that the planks can rotate naturally.
Kommentarer
Skicka en kommentar