Cocos Creator
Constant Force Components
The constant force component is a tool component that relies on the Rigidbody component to apply a given force and torque to a rigid body every frame.
Properties | Description |
---|---|
Force | The force applied to the rigid body in the world coordinate system |
LocalForce | the force applied to the rigid body in the local coordinate system |
Torque | the torque applied to a rigid body in the world coordinate system |
LocalTorque | the torque applied to a rigid body in the local coordinate system |
Please refer to ConstantForce API for details.