relativeForce | 力在 X 轴和 Y 轴上的分量。 |
mode | 用于施加指定力的方法。 |
Adds a force to the local space velocity. In other words, the force is applied in the rotated coordinate space of the Rigidbody2D.
Additional resources: Rigidbody2D.AddForce, Rigidbody2D.AddForceAtPosition and Rigidbody2D.AddTorque.