All Classes Namespaces Functions Variables Enumerations Properties Pages
Public Attributes | Properties | List of all members
IKSolver.Bone Class Reference

Bone type of element in the IK chain. Used in the case of skeletal Transform hierarchies. More...

Inheritance diagram for IKSolver.Bone:
Inheritance graph
[legend]
Collaboration diagram for IKSolver.Bone:
Collaboration graph
[legend]

Public Attributes

float length
 The length of the bone. More...
 
float sqrMag
 The sqr mag of the bone. More...
 
Vector3 axis = -Vector3.right
 Local axis to target/child bone. More...
 
- Public Attributes inherited from IKSolver.Point
Transform transform
 The transform. More...
 
float weight = 1f
 The weight of this bone in the solver. More...
 
Vector3 solverPosition
 Virtual position in the IK solver. More...
 
Quaternion solverRotation = Quaternion.identity
 Virtual rotation in the IK solver. More...
 
Vector3 defaultLocalPosition
 The default local position of the Transform. More...
 
Quaternion defaultLocalRotation
 The default local rotation of the Transform. More...
 

Properties

RotationLimit rotationLimit [get, set]
 Gets the rotation limit component from the Transform if there is any. More...
 

Additional Inherited Members

- Public Member Functions inherited from IKSolver.Point
void StoreDefaultLocalState ()
 Stores the default local state of the point. More...
 
void FixTransform ()
 Fixes the transform to its default local state. More...
 
void UpdateSolverPosition ()
 Updates the solverPosition (in world space). More...
 
void UpdateSolverLocalPosition ()
 Updates the solverPosition (in local space). More...
 
void UpdateSolverState ()
 Updates the solverPosition/Rotation (in world space). More...
 
void UpdateSolverLocalState ()
 Updates the solverPosition/Rotation (in local space). More...
 

Detailed Description

Bone type of element in the IK chain. Used in the case of skeletal Transform hierarchies.