Version: 2023.2
public JointMotor2D motor ;

描述

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

另请参阅:useMotor