FakeHingeData
Inherits from FakePhysicsData
Summary
Constructors
FakeHingeData() |
FakeHingeData(guid: Guid) |
FakeHingeData(other: FakePhysicsData) |
FakeHingeData(other: DataContainer) |
Properties
Name | Type |
---|---|
pivot | Vec3 |
rotationAxis | Vec3 |
extensionAxis | Vec3 |
minAngle | float |
maxAngle | float |
angularDampening | float |
pullbackAcceleration | float |
progressiveExponent | float |
inertiaModifier | float |
Static members
Name | Type |
---|---|
FakeHingeData.typeInfo | TypeInformation |
Constructors
FakeHingeData
FakeHingeData()
Creates a new FakeHingeData frostbite instance.
FakeHingeData
FakeHingeData(guid: Guid)
Creates a new FakeHingeData frostbite instance and assigns it the provided Guid.
Parameters
Name | Type | Description |
---|---|---|
guid | Guid | The Guid to assign to the newly created instance. |
FakeHingeData
FakeHingeData(other: FakePhysicsData)
Casts an instance of type FakePhysicsData to FakeHingeData. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | FakePhysicsData | The instance to cast to FakeHingeData. |
FakeHingeData
FakeHingeData(other: DataContainer)
Casts an instance of type DataContainer to FakeHingeData. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | DataContainer | The instance to cast to FakeHingeData. |
Properties
pivot
rotationAxis
extensionAxis
minAngle
float
maxAngle
float
angularDampening
float
pullbackAcceleration
float
progressiveExponent
float
inertiaModifier
float
Static members
typeInfo
The type information for the FakeHingeData type.
Last modified April 26, 2020: Update frostbite type documentation (8b14351c)