RigidBodyComponent

constructor()

The default constructor.


constructor(massProperties: MassProperties, rigidBodyMode: RigidBodyMode)

Constructs a RigidBodyComponent with the specified MassProperties and RigidBodyMode.

Parameters

massProperties

The MassProperties of the object.

rigidBodyMode

The RigidBodyMode that indicates how the object responds to forces.