Table of Contents

Class JointConfig

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
[Serializable]
public class JointConfig
Inheritance
JointConfig
Inherited Members
Extension Methods

Constructors

JointConfig()

public JointConfig()

Fields

dragMultiplier

public float dragMultiplier

Field Value

float

hasJoint

public bool hasJoint

Field Value

bool

maxX

[Range(-180, 180)]
public float maxX

Field Value

float

minX

[Range(-180, 180)]
public float minX

Field Value

float

springMultiplier

public float springMultiplier

Field Value

float

yAngle

public float yAngle

Field Value

float

zAngle

public float zAngle

Field Value

float

Methods

CopyJointSettings(ConfigurableJoint)

public void CopyJointSettings(ConfigurableJoint configurableJoint)

Parameters

configurableJoint ConfigurableJoint

SpawnJoint(Rigidbody, Rigidbody, float, float)

public ConfigurableJoint SpawnJoint(Rigidbody ownRig, Rigidbody otherRig, float spring, float drag)

Parameters

ownRig Rigidbody
otherRig Rigidbody
spring float
drag float

Returns

ConfigurableJoint