C# Class InverseKinematics, UnitySpritesAndBones

Inheritance: MonoBehaviour
Datei anzeigen Open project: Banbury/UnitySpritesAndBones Class Usage Examples

Public Properties

Property Type Description
angleLimits Node[],
chainLength int
iterations int
target Transform

Private Properties

Property Type Description
ClampAngle float
IsNaNRot bool

Public Methods

Method Description
SignedAngle ( Vector3 a, Vector3 b, Transform t ) : float
Start ( ) : void
Update ( ) : void
resolveSK2D ( ) : void

Private Methods

Method Description
ClampAngle ( float angle, float from, float to ) : float
IsNaNRot ( Quaternion q ) : bool

Method Details

SignedAngle() public method

public SignedAngle ( Vector3 a, Vector3 b, Transform t ) : float
a Vector3
b Vector3
t Transform
return float

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

resolveSK2D() public method

public resolveSK2D ( ) : void
return void

Property Details

angleLimits public_oe property

public Node[], angleLimits
return Node[],

chainLength public_oe property

public int chainLength
return int

iterations public_oe property

public int iterations
return int

target public_oe property

public Transform target
return Transform