Idea: I want a wheel with a stick attached to it by a joint. Then I want to move the wheel back and forth in order to balance the stick, keeping it from falling to the ground.
At first I tried a revolute joint between the wheel and the stick. Then I used SetLinearVelocity to the wheel body which worked ok. Then I thought I might try a motor on the joint, but it seems to affect both bodies, removing the challenge of balancing the stick. Is there some way to apply the motor to only the wheel? Perhaps I need another type of joint?
Thanks!
At first I tried a revolute joint between the wheel and the stick. Then I used SetLinearVelocity to the wheel body which worked ok. Then I thought I might try a motor on the joint, but it seems to affect both bodies, removing the challenge of balancing the stick. Is there some way to apply the motor to only the wheel? Perhaps I need another type of joint?
Thanks!