Unexpected Rack-and-Pinion Joint Behavior in Simulation

Hello,

I’m currently working on simulating a gantry robot.

While creating the joint relationships between the parts, I encountered a strange behavior with the Rack-and-Pinion Joint.

It looks like this:

moving_gear

Its angular velocity prints out about 0.002 deg./sec, but it appears to be spinning too fast.

I checked the demo and noticed that the demo’s gear is fixed in the world position. After changing the body0 of the gear joint to the world, it works normally:

stopped_gear

Is it impossible to apply a Rack-and-Pinion joint to my simulation due to the limitations of the PhysX joint extension, or did I configure something incorrectly?