Table of Contents

Class RagdollCreator.BoneMapping

Namespace
VoxelPlayground.Ragdoll
Assembly
GamePlay.dll
[Serializable]
public class RagdollCreator.BoneMapping
Inheritance
object
RagdollCreator.BoneMapping

Fields

bone

public Transform bone

Field Value

Transform

boneName

public string boneName

Field Value

string

colliderSize

public RagdollCreator.ColliderSize colliderSize

Field Value

RagdollCreator.ColliderSize

jointConfig

public RagdollCreator.JointConfig jointConfig

Field Value

RagdollCreator.JointConfig

Methods

AdjustColliderPosition(float, float, float, float)

public RagdollCreator.BoneMapping AdjustColliderPosition(float forwardMlp = -1, float backwardMlp = -1, float depthMlp = -1, float widthMlp = -1)

Parameters

forwardMlp float
backwardMlp float
depthMlp float
widthMlp float

Returns

RagdollCreator.BoneMapping

SetSwingAxis(Vector3)

public RagdollCreator.BoneMapping SetSwingAxis(Vector3 worldAxis)

Parameters

worldAxis Vector3

Returns

RagdollCreator.BoneMapping

SetSwingLimit(float, float, float, float)

public RagdollCreator.BoneMapping SetSwingLimit(float swingMin, float swingMax, float swingSide, float twist)

Parameters

swingMin float
swingMax float
swingSide float
twist float

Returns

RagdollCreator.BoneMapping