CharacterPhysicsData

Inherits from Asset

Summary

Constructors

CharacterPhysicsData()
CharacterPhysicsData(guid: Guid)
CharacterPhysicsData(other: Asset)
CharacterPhysicsData(other: DataContainer)

Properties

Name Type
poses CharacterPoseData[]
states CharacterStateData[]
defaultState CharacterStateType
sprint CharacterSprintData | nil
materialPair MaterialContainerPair | nil
pushableObjectWeight int
mass float
maxAscendAngle float
physicalRadius float
waterDepthLimit float
inputAcceleration float
ladderAcceptAngle float
ladderAcceptAnglePitch float
jumpPenaltyTime float
jumpPenaltyFactor float
radiusToPredictCollisionOnCharacters float
allowPoseChangeDuringTransition bool

Static members

Name Type
CharacterPhysicsData.typeInfo TypeInformation

Constructors

CharacterPhysicsData

CharacterPhysicsData()

Creates a new CharacterPhysicsData frostbite instance.

CharacterPhysicsData

CharacterPhysicsData(guid: Guid)

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

Parameters

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

CharacterPhysicsData

CharacterPhysicsData(other: Asset)

Casts an instance of type Asset to CharacterPhysicsData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other Asset The instance to cast to CharacterPhysicsData.

CharacterPhysicsData

CharacterPhysicsData(other: DataContainer)

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

Parameters

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

Properties

poses

CharacterPoseData[]

states

CharacterStateData[]

defaultState

CharacterStateType

sprint

CharacterSprintData | nil

materialPair

MaterialContainerPair | nil

pushableObjectWeight

int

mass

float

maxAscendAngle

float

physicalRadius

float

waterDepthLimit

float

inputAcceleration

float

ladderAcceptAngle

float

ladderAcceptAnglePitch

float

jumpPenaltyTime

float

jumpPenaltyFactor

float

radiusToPredictCollisionOnCharacters

float

allowPoseChangeDuringTransition

bool

Static members

typeInfo

TypeInformation

The type information for the CharacterPhysicsData type.

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