Wheelchair movement with hinge joint and rotation of controllers?
I have a seat (cube) with two wheels (cylinders) attached at the sides with Hinge Joints.
What I'd like to do is to rig my controllers to two irl wheels. Something like taping the controller directly in the middle of the wheel. When the user spins the wheel, the controller spins the y axis, and I want that to directly translate to the movement of the wheel in the game. With two controllers and two wheels, I want to simulate wheel chair movement as closely as possible, but I'm having trouble. When I look at the rotation values for a spinning controller, the y axis ticks up to 90, then becomes -89, which ticks up to 90, before becoming -89 again. It's like it split the 360 rotation into 4 parts.
What's up with this and how can I transfer this rotation to the rotational target velocity of the hinge joint?
Your answer
Follow this Question
Related Questions
Rotating Camera around Player's X-axis while rotating Player around its Y-axis (using mouse input) 0 Answers
How to rotate an object according to the camera's view? 1 Answer
how to reset back the rotation 0 Answers
Why won't my model rotate up on X axis? 1 Answer
Rotate object in 3d space along one axis in the direction of movement vector. 0 Answers