PhysicsVelocityComponent

constructor()

Default constructor.


constructor(linearVelocity: Vector3, angularVelocity: Vector3)

Creates a PhysicsVelocityComponent with the specified velocities.

Parameters

linearVelocity

The linear velocity of the physics motion in the physics simulation. The default value is Vector3(0F, 0F, 0F).

angularVelocity

The angular velocity of the physics motion around the center of mass. The default value is Vector3(0F, 0F, 0F).