OnGroundStateData
Inherits from CharacterStateData
Summary
Constructors
| OnGroundStateData() |
| OnGroundStateData(guid: Guid) |
| OnGroundStateData(other: CharacterStateData) |
| OnGroundStateData(other: DataContainer) |
Properties
| Name | Type |
|---|---|
| jumpDelay | float |
| jumpStaminaPenalty | float |
| allowedDistanceFromGround | float |
| groundHugging | bool |
| limitDownwardVelocity | bool |
Static members
| Name | Type |
|---|---|
| OnGroundStateData.typeInfo | TypeInformation |
Constructors
OnGroundStateData
OnGroundStateData()
Creates a new OnGroundStateData frostbite instance.
OnGroundStateData
OnGroundStateData(guid: Guid)
Creates a new OnGroundStateData frostbite instance and assigns it the provided Guid.
Parameters
| Name | Type | Description |
|---|---|---|
| guid | Guid | The Guid to assign to the newly created instance. |
OnGroundStateData
OnGroundStateData(other: CharacterStateData)
Casts an instance of type CharacterStateData to OnGroundStateData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | CharacterStateData | The instance to cast to OnGroundStateData. |
OnGroundStateData
OnGroundStateData(other: DataContainer)
Casts an instance of type DataContainer to OnGroundStateData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | DataContainer | The instance to cast to OnGroundStateData. |
Properties
jumpDelay
float
jumpStaminaPenalty
float
allowedDistanceFromGround
float
groundHugging
bool
limitDownwardVelocity
bool
Static members
typeInfo
The type information for the OnGroundStateData type.
Last modified April 26, 2020: Update frostbite type documentation (8b14351c)