Hello,
I have two RigidBodies, A and B, connected by a joint that behaves as a motor.
I want it so that when the motor spins, it only rotates body B, not A, regardless if A’s mass is lighter.
My issue right now is that even if A is heavier, it still rotates slightly in the opposite direction for some reason. I’m assuming this is reaction force, but I’m not entirely sure.
What I’ve tried:
- Change massScale/connectedMassScale: This works perfectly for reducing this weird backwards force, but also causes rigidBody.AddForce on body B to not pull on body A.
- Apply counter torque on body A to cancel out the force: Was not able to determine how much torque to apply, especially given the motor can spin at different speeds and have different masses attached to it
- Change inertia tensor of body A or B: This dampened the rotation of the body’s IT I changed, causing it to move sluggishly. I guess it technically removed the backwards force, but it also caused other unintended side-effects
I’m aware what I’m experiencing is a property of physics itself, and that by changing this, it won’t be realistic, but that’s not a concern for me
Thanks in advance!