RigidBodyHingeConstraintData
Inherits from RigidBodyConstraintData
Summary
Constructors
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
The type information for the RigidBodyHingeConstraintData type.