Version: 2023.1
public JointMotor2D motor ;

描述

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

另请参阅:useMotor