RigidBodyData
Inherits from DataContainer
Summary
Constructors
RigidBodyData() |
RigidBodyData(guid: Guid) |
RigidBodyData(other: DataContainer) |
Properties
Static members
Name | Type |
---|---|
RigidBodyData.typeInfo | TypeInformation |
Constructors
RigidBodyData
RigidBodyData()
Creates a new RigidBodyData frostbite instance.
RigidBodyData
RigidBodyData(guid: Guid)
Creates a new RigidBodyData frostbite instance and assigns it the provided Guid.
Parameters
Name | Type | Description |
---|---|---|
guid | Guid | The Guid to assign to the newly created instance. |
RigidBodyData
RigidBodyData(other: DataContainer)
Casts an instance of type DataContainer to RigidBodyData. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | DataContainer | The instance to cast to RigidBodyData. |
Properties
inertiaModifier
rigidBodyType
mass
float
restitution
float
friction
float
angularVelocityDamping
float
linearVelocityDamping
float
interactionToolkitCollisionVolumeId
int
motionType
qualityType
collisionLayer
floatPhysics
FloatPhysicsData | nil
constraints
Static members
typeInfo
The type information for the RigidBodyData type.
Last modified April 26, 2020: Update frostbite type documentation (8b14351c)