PhysicsForceComponent

constructor()

Default constructor.


constructor(force: Vector3, torque: Vector3)

Creates a physics force component with the specified force and torque.

Parameters

force

The force applied in the local coordinate to control the motion.

torque

The torque applied in the local coordinate to control the motion.