PhysicsConstraintData

Inherits from GameObjectData

Summary

Constructors

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

Properties

Name Type
transform LinearTransform
constrainedObject ReferenceObjectData | nil
breakThreshold float
isBreakable bool

Static members

Name Type
PhysicsConstraintData.typeInfo TypeInformation

Constructors

PhysicsConstraintData

PhysicsConstraintData()

Creates a new PhysicsConstraintData frostbite instance.

PhysicsConstraintData

PhysicsConstraintData(guid: Guid)

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

Parameters

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

PhysicsConstraintData

PhysicsConstraintData(other: GameObjectData)

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

Parameters

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

PhysicsConstraintData

PhysicsConstraintData(other: GameDataContainer)

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

Parameters

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

PhysicsConstraintData

PhysicsConstraintData(other: DataContainer)

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

Parameters

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

Properties

transform

LinearTransform

constrainedObject

ReferenceObjectData | nil

breakThreshold

float

isBreakable

bool

Static members

typeInfo

TypeInformation

The type information for the PhysicsConstraintData type.

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