While trying to use hinge joints for the swinging vines, I confirmed that the vine with be one sprite swinging back and forth. And so, I decided to code the vine instead of using hinges. Using and modifying a script I used in the Game Jam, I came up with the below:
 |
| Originally, instead of transform.rotation, I was using EulerAngles. This version is simple and fulfills our need. |
No comments:
Post a Comment