How do I build a Teeter Totter? (keep the center fixed while seats go up down)
hzapps
Member, PRO Posts: 173
Aloha all,
I am having a problem trying to build what is basically an old fashion teeter totter. I have the plank and I can rest it on top of something and then drop something on the one side to launch something into the air from the other side. But i cannot get the plank to simply rotate around that center point so that it doesnt fly off into the air also. Basically I just want a simple Teeter Totter.
Any thoughts would be greatly appreciated.
Hang loose and have a great weekend
I am having a problem trying to build what is basically an old fashion teeter totter. I have the plank and I can rest it on top of something and then drop something on the one side to launch something into the air from the other side. But i cannot get the plank to simply rotate around that center point so that it doesnt fly off into the air also. Basically I just want a simple Teeter Totter.
Any thoughts would be greatly appreciated.
Hang loose and have a great weekend
Comments
I did this by constraining the y position of the board to the height of the centre pivot/bar you're balancing it on. And I set it so that if it collides with the floor it bounces back up. Without the floor, the seesaw would have just span around.
Try constraining the board to the boards current y position (the top of your pivot point) and also make sure you've got a floor that it can bounce against so that it doesn't spin around in a full circle.
When physics are required, linear velocity, rotational velocity and acceleration are what you use to move or constrain actors to a position. Editing actor positions directly will interfere with the physics. In the project, see how I constrained the platform actor to the base actor using velocity.
Let me know if you have questions.
You all are awesome
Hang Loose