RigidBodyHingeConstraintData

Inherits from RigidBodyConstraintData

Summary

Constructors

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

Properties

Name Type
minAngle float
angularFriction float
maxAngle float
hasLimits bool

Static members

Name Type
RigidBodyHingeConstraintData.typeInfo TypeInformation

Constructors

RigidBodyHingeConstraintData

RigidBodyHingeConstraintData()

Creates a new RigidBodyHingeConstraintData frostbite instance.

RigidBodyHingeConstraintData

RigidBodyHingeConstraintData(guid: Guid)

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

Parameters

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

RigidBodyHingeConstraintData

RigidBodyHingeConstraintData(other: RigidBodyConstraintData)

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

Parameters

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

RigidBodyHingeConstraintData

RigidBodyHingeConstraintData(other: GameObjectData)

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

Parameters

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

RigidBodyHingeConstraintData

RigidBodyHingeConstraintData(other: GameDataContainer)

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

Parameters

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

RigidBodyHingeConstraintData

RigidBodyHingeConstraintData(other: DataContainer)

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

Parameters

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

Properties

minAngle

float

angularFriction

float

maxAngle

float

hasLimits

bool

Static members

typeInfo

TypeInformation

The type information for the RigidBodyHingeConstraintData type.

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