FakePhysicsData
Inherits from DataContainer
Summary
Constructors
| FakePhysicsData() |
| FakePhysicsData(guid: Guid) |
| FakePhysicsData(other: DataContainer) |
Properties
| Name | Type |
|---|---|
| childFakePhysics | FakePhysicsData | nil |
| startSpeed | float |
| gravityModifier | float |
| startDampening | float |
| endDampening | float |
| minSpeed | float |
| maxSpeed | float |
| mass | float |
Static members
| Name | Type |
|---|---|
| FakePhysicsData.typeInfo | TypeInformation |
Constructors
FakePhysicsData
FakePhysicsData()
Creates a new FakePhysicsData frostbite instance.
FakePhysicsData
FakePhysicsData(guid: Guid)
Creates a new FakePhysicsData frostbite instance and assigns it the provided Guid.
Parameters
| Name | Type | Description |
|---|---|---|
| guid | Guid | The Guid to assign to the newly created instance. |
FakePhysicsData
FakePhysicsData(other: DataContainer)
Casts an instance of type DataContainer to FakePhysicsData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | DataContainer | The instance to cast to FakePhysicsData. |
Properties
childFakePhysics
FakePhysicsData | nil
startSpeed
float
gravityModifier
float
startDampening
float
endDampening
float
minSpeed
float
maxSpeed
float
mass
float
Static members
typeInfo
The type information for the FakePhysicsData type.
Last modified April 26, 2020: Update frostbite type documentation (8b14351c)