RigidBodyConstraintData

Inherits from GameObjectData

Summary

Constructors

RigidBodyConstraintData()
RigidBodyConstraintData(guid: Guid)
RigidBodyConstraintData(other: GameObjectData)
RigidBodyConstraintData(other: GameDataContainer)
RigidBodyConstraintData(other: DataContainer)

Properties

Name Type
transform LinearTransform
parentBody DataContainer | nil
breakThreshold float
isBreakable bool

Static members

Name Type
RigidBodyConstraintData.typeInfo TypeInformation

Constructors

RigidBodyConstraintData

RigidBodyConstraintData()

Creates a new RigidBodyConstraintData frostbite instance.

RigidBodyConstraintData

RigidBodyConstraintData(guid: Guid)

Creates a new RigidBodyConstraintData frostbite instance and assigns it the provided Guid.

Parameters

Name Type Description
guid Guid The Guid to assign to the newly created instance.

RigidBodyConstraintData

RigidBodyConstraintData(other: GameObjectData)

Casts an instance of type GameObjectData to RigidBodyConstraintData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameObjectData The instance to cast to RigidBodyConstraintData.

RigidBodyConstraintData

RigidBodyConstraintData(other: GameDataContainer)

Casts an instance of type GameDataContainer to RigidBodyConstraintData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameDataContainer The instance to cast to RigidBodyConstraintData.

RigidBodyConstraintData

RigidBodyConstraintData(other: DataContainer)

Casts an instance of type DataContainer to RigidBodyConstraintData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other DataContainer The instance to cast to RigidBodyConstraintData.

Properties

transform

LinearTransform

parentBody

DataContainer | nil

breakThreshold

float

isBreakable

bool

Static members

typeInfo

TypeInformation

The type information for the RigidBodyConstraintData type.

Last modified April 26, 2020: Update frostbite type documentation (8b14351c)