Help with Constraining Rotation?
Hey guys ... I'm have a little trouble with a "LEVER" type object in my game. I want the physics to rotate this lever, but not "spin" it completely around.
Using the constrain rotation works PERFECT for the 45° angle, but NOT for the -45°. When the ball hits the LEFT side, the lever rotates to 45°, and stops, just as planned. But when it hits the RIGHT side, it immediately FLIPS around.
Here's my ruleset for the lever:
![image](https://lh4.googleusercontent.com/_9VpmzywC_3c/Ta23Kv5sD1I/AAAAAAAAABc/oPIi9ZrIZ4g/s512/Rotate.png)
Any idea what I'm doing wrong?
-ED
Using the constrain rotation works PERFECT for the 45° angle, but NOT for the -45°. When the ball hits the LEFT side, the lever rotates to 45°, and stops, just as planned. But when it hits the RIGHT side, it immediately FLIPS around.
Here's my ruleset for the lever:
![image](https://lh4.googleusercontent.com/_9VpmzywC_3c/Ta23Kv5sD1I/AAAAAAAAABc/oPIi9ZrIZ4g/s512/Rotate.png)
Any idea what I'm doing wrong?
-ED
Comments
Should work then
___________________________________________________________________________________
Project Help from Tenrdrmer Click Here
GS BubbleBall Template HERE!!
Stacks Level Selection Template HERE!!
Expanding Option Menu Template HERE!!
Tenrdrmer's Menu # 3 HERE!!
Menu #4 - Level Banners HERE!!
AppSolute Entertainment on Facebook
AppSolute Entertainment on iTunes