Table of Contents

Class CharacterStateMachine

Namespace
VoxelPlayground.Gaming
Assembly
GamePlay.dll
public class CharacterStateMachine : StateMachine
Inheritance
object
CharacterStateMachine
Inherited Members
Extension Methods

Fields

animationProfile

public AnimationProfile animationProfile

Field Value

AnimationProfile

entityCharacter

[HideInInspector]
public EntityCharacter entityCharacter

Field Value

EntityCharacter

grabJointInfoControlled

[Tooltip("Joint info data used when the character is being controlled by player input.")]
public JointInfoData grabJointInfoControlled

Field Value

JointInfoData

isAttacking

public bool isAttacking

Field Value

bool

knockoutMuscles

public MotionDetector.KnockoutData[] knockoutMuscles

Field Value

KnockoutData[]

ragdollAnim

public RagdollAnim ragdollAnim

Field Value

RagdollAnim

ragdollProfileControlled

[Tooltip("Ragdoll profile used when the character is being controlled by player input.")]
public RagdollProfile ragdollProfileControlled

Field Value

RagdollProfile

ragdollProfileIdle

public RagdollProfile ragdollProfileIdle

Field Value

RagdollProfile

ragdollProfileKnockedOut

public RagdollProfile ragdollProfileKnockedOut

Field Value

RagdollProfile

ragdollProfileKnockedOut_GetUp

public RagdollProfile ragdollProfileKnockedOut_GetUp

Field Value

RagdollProfile

ragdollProfileWalking

public RagdollProfile ragdollProfileWalking

Field Value

RagdollProfile

Methods

CheckFalling(float)

public bool CheckFalling(float deltaTime)

Parameters

deltaTime float

Returns

bool

CheckLosingBalance(float)

public bool CheckLosingBalance(float deltaTime)

Parameters

deltaTime float

Returns

bool

DisableController(bool)

[Button]
public void DisableController(bool dis)

Parameters

dis bool

ExitCurState()

public void ExitCurState()

GetCurrentState()

public CharacterState GetCurrentState()

Returns

CharacterState

InitState(State)

public override void InitState(State state)

Parameters

state State

SetRagdollAnimControlEnable(bool)

[Button]
public void SetRagdollAnimControlEnable(bool value)

Parameters

value bool

Update()

public override void Update()