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

Grounding for LimbIK, CCD and/or FABRIK solvers. More...

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

Public Member Functions

override void ResetPosition ()
 Resets this Grounder so characters can be teleported instananeously. More...
 
- Public Member Functions inherited from Grounder
delegate void GrounderDelegate ()
 Delegate for Grounder events. More...
 

Public Attributes

IK[] legs
 The leg IK componets (can be any type of IK component). More...
 
Transform pelvis
 The pelvis transform. Common ancestor of all the legs. More...
 
Transform characterRoot
 The root Transform of the character, with the rigidbody and the collider. More...
 
float rootRotationWeight
 The weight of rotating the character root to the ground normal (range: 0 - 1). More...
 
float rootRotationSpeed = 5f
 The speed of rotating the character root to the ground normal (range: 0 - inf). More...
 
float maxRootRotationAngle = 45f
 The maximum angle of root rotation (range: 0 - 90). More...
 
- Public Attributes inherited from Grounder
float weight = 1f
 The master weight. Use this to fade in/out the grounding effect. More...
 
Grounding solver = new Grounding()
 The Grounding solver. Not to confuse with IK solvers. More...
 
GrounderDelegate OnPreGrounder
 Called before the Grounder updates its solver. More...
 
GrounderDelegate OnPostGrounder
 Called after the Grounder has updated its solver and before the IK is applied. More...
 
GrounderDelegate OnPostIK
 Called after the IK has updated. More...
 

Detailed Description

Grounding for LimbIK, CCD and/or FABRIK solvers.