Table of Contents

Class LocomotionHexaBody

Namespace
VoxelPlayground.Ragdoll
Assembly
GamePlay.dll
public class LocomotionHexaBody : LocomotionBase
Inheritance
object
LocomotionHexaBody
Inherited Members
Extension Methods

Fields

anchorOffset

public float anchorOffset

Field Value

float

animator

public Animator animator

Field Value

Animator

ballTrans

[HideInInspector]
public Transform ballTrans

Field Value

Transform

fixedAnchorOffset

public float fixedAnchorOffset

Field Value

float

groundedForce

public float groundedForce

Field Value

float

groundedForceMlp

public float groundedForceMlp

Field Value

float

jointLegBall

[HideInInspector]
public ConfigurableJoint jointLegBall

Field Value

ConfigurableJoint

jointLegBallGO

public GameObject jointLegBallGO

Field Value

GameObject

jointRagdoll

[HideInInspector]
public ConfigurableJoint jointRagdoll

Field Value

ConfigurableJoint

jointRagdollGO

public GameObject jointRagdollGO

Field Value

GameObject

jointRagdollMassScale

[Tooltip("If the entity is too floaty, set this to a higher value")]
public float jointRagdollMassScale

Field Value

float

jointStartRot

[HideInInspector]
public Quaternion jointStartRot

Field Value

Quaternion

jointTorsoLeg

[HideInInspector]
public ConfigurableJoint jointTorsoLeg

Field Value

ConfigurableJoint

jointTorsoLegGO

public GameObject jointTorsoLegGO

Field Value

GameObject

jumpUpSec

public float jumpUpSec

Field Value

float

kneeJointInfo

public JointInfoData kneeJointInfo

Field Value

JointInfoData

locoBall

[HideInInspector]
public Rigidbody locoBall

Field Value

Rigidbody

locoBallGO

public GameObject locoBallGO

Field Value

GameObject

locoCollider

[HideInInspector]
public SphereCollider locoCollider

Field Value

SphereCollider

locoColliderGO

public GameObject locoColliderGO

Field Value

GameObject

manualSetBallRadius

public bool manualSetBallRadius

Field Value

bool

standardHipDriveDamper

public float standardHipDriveDamper

Field Value

float

standardHipDriveDamperSlerp

public float standardHipDriveDamperSlerp

Field Value

float

standardHipDriveSpring

public float standardHipDriveSpring

Field Value

float

torso

[HideInInspector]
public Rigidbody torso

Field Value

Rigidbody

torsoGO

public GameObject torsoGO

Field Value

GameObject

torsoTrans

[HideInInspector]
public Transform torsoTrans

Field Value

Transform

Methods

CollectLegAnimator(GameObject)

public void CollectLegAnimator(GameObject rawAnimGameObject)

Parameters

rawAnimGameObject GameObject

DisableBallRolling()

public void DisableBallRolling()

Forward()

public override Vector3 Forward()

Returns

Vector3

GetSpeedFactor()

public float GetSpeedFactor()

Returns

float

GetTransform()

public override Transform GetTransform()

Returns

Transform

IsMoving(float)

public bool IsMoving(float threshold = 0.1)

Parameters

threshold float

Returns

bool

Jump(float)

public override void Jump(float force)

Parameters

force float

JumpTowards(Vector3)

public void JumpTowards(Vector3 direction)

Parameters

direction Vector3

ResetPos(float)

public void ResetPos(float offsetY = 0)

Parameters

offsetY float

ResetRot()

public void ResetRot()

RotateToDirection(Vector3)

public override void RotateToDirection(Vector3 dir)

Parameters

dir Vector3

SetAnimatorUpLayerEnable(bool)

public void SetAnimatorUpLayerEnable(bool enable)

Parameters

enable bool

SetGhostProgress(float, bool)

public override void SetGhostProgress(float progress, bool trackback = true)

Parameters

progress float
trackback bool

SetHeight(float)

public override void SetHeight(float h)

Parameters

h float

SetMoveVelocity(Vector3)

public override void SetMoveVelocity(Vector3 vel)

Parameters

vel Vector3

SlowDownMoveVelocity(float)

public void SlowDownMoveVelocity(float factor = 0.95)

Parameters

factor float

UpdateLegBall()

public void UpdateLegBall()