PhysicsHingeConstraintData

Inherits from PhysicsConstraintData

Summary

Constructors

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

Properties

Name Type
minAngle float
angularFriction float
maxAngle float
hasLimits bool

Static members

Name Type
PhysicsHingeConstraintData.typeInfo TypeInformation

Constructors

PhysicsHingeConstraintData

PhysicsHingeConstraintData()

Creates a new PhysicsHingeConstraintData frostbite instance.

PhysicsHingeConstraintData

PhysicsHingeConstraintData(guid: Guid)

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

Parameters

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

PhysicsHingeConstraintData

PhysicsHingeConstraintData(other: PhysicsConstraintData)

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

Parameters

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

PhysicsHingeConstraintData

PhysicsHingeConstraintData(other: GameObjectData)

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

Parameters

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

PhysicsHingeConstraintData

PhysicsHingeConstraintData(other: GameDataContainer)

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

Parameters

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

PhysicsHingeConstraintData

PhysicsHingeConstraintData(other: DataContainer)

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

Parameters

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

Properties

minAngle

float

angularFriction

float

maxAngle

float

hasLimits

bool

Static members

typeInfo

TypeInformation

The type information for the PhysicsHingeConstraintData type.

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