All Classes Namespaces Functions Variables Enumerations Properties Pages
Public Member Functions | Public Attributes | List of all members
IKMappingSpine Class Reference

Mapping a bone hierarchy to 2 triangles defined by the hip and chest planes. More...

Inheritance diagram for IKMappingSpine:
Inheritance graph
[legend]
Collaboration diagram for IKMappingSpine:
Collaboration graph
[legend]

Public Member Functions

override bool IsValid (IKSolver solver, ref string message)
 Determines whether this IKMappingSpine is valid More...
 

Public Attributes

Transform[] spineBones
 The spine bones. More...
 
Transform leftUpperArmBone
 The left upper arm bone. More...
 
Transform rightUpperArmBone
 The right upper arm bone. More...
 
Transform leftThighBone
 The left thigh bone. More...
 
Transform rightThighBone
 The right thigh bone. More...
 
int iterations = 3
 The number of iterations of the FABRIK algorithm. Not used if there are 2 bones assigned to Spine in the References. More...
 
float twistWeight = 1f
 The weight of twisting the spine bones gradually to the orientation of the chest triangle. Relatively expensive, so set this to 0 if there is not much spine twisting going on. More...
 

Detailed Description

Mapping a bone hierarchy to 2 triangles defined by the hip and chest planes.