CharacterPhysicsComponentData

Inherits from ComponentData

Summary

Constructors

CharacterPhysicsComponentData()
CharacterPhysicsComponentData(guid: Guid)
CharacterPhysicsComponentData(other: ComponentData)
CharacterPhysicsComponentData(other: GameObjectData)
CharacterPhysicsComponentData(other: GameDataContainer)
CharacterPhysicsComponentData(other: DataContainer)

Properties

Name Type
characterPhysics CharacterPhysicsData | nil
enableCollisionOnSpawn bool

Static members

Name Type
CharacterPhysicsComponentData.typeInfo TypeInformation

Constructors

CharacterPhysicsComponentData

CharacterPhysicsComponentData()

Creates a new CharacterPhysicsComponentData frostbite instance.

CharacterPhysicsComponentData

CharacterPhysicsComponentData(guid: Guid)

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

Parameters

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

CharacterPhysicsComponentData

CharacterPhysicsComponentData(other: ComponentData)

Casts an instance of type ComponentData to CharacterPhysicsComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other ComponentData The instance to cast to CharacterPhysicsComponentData.

CharacterPhysicsComponentData

CharacterPhysicsComponentData(other: GameObjectData)

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

Parameters

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

CharacterPhysicsComponentData

CharacterPhysicsComponentData(other: GameDataContainer)

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

Parameters

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

CharacterPhysicsComponentData

CharacterPhysicsComponentData(other: DataContainer)

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

Parameters

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

Properties

characterPhysics

CharacterPhysicsData | nil

enableCollisionOnSpawn

bool

Static members

typeInfo

TypeInformation

The type information for the CharacterPhysicsComponentData type.

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