RigidBodyComponent
constructor()
The default constructor.
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.