Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 1017 Bytes

physics-constant-force.md

File metadata and controls

22 lines (14 loc) · 1017 Bytes

3D ConstantForce Component

The 3D ConstantForce component is used to add constant force to a rigidbody.

Click the Add Component -> Physics Component -> Constant Force 3D button at the bottom of the Properties panel to add the ConstantForce component to the node.

It should be noted that when adding a ConstantForce component, the RigidBody component is also automatically added to the node and cannot be deleted.

ConstantForce Properties

Properties Function explanation
Force Set the force used in the world coordinate system
Local Force Set the force used in the local coordinate system
Torque Torque applied to the world orientation
Local Torque Torque applied to local orientation

For the API interface of ConstantForce, please refer to ConstantForce.