public JointMotor2D motor ;

Description

Parameters for a motor force that is applied automatically to the Rigibody2D along the line.

另请参阅:useMotor