![]() |
Creature Control for Unity v0.1
|
The head of a creature.
Public Member Functions | |
| override Quaternion | GetStdOrientation () |
| Get the standardized orientation for a bone. | |
| virtual void | UpdatePose () |
| Update the pose of the bone based on the target. | |
Public Attributes | |
| Creature | creature |
| The creature to which the bone belongs. | |
| Quaternion | toBoneRotation |
| The rotation to transform the target orientation into the orientation of the bone. | |
Properties | |
| new HeadTarget | target [get] |
| The pose target for this head. | |
|
virtual |
Get the standardized orientation for a bone.
This orientation is independent from the orientation of the bone in the model The orientation matches the oriention in the target rig
Reimplemented from Creatures.Bone.
Reimplemented in Creatures.Insects.Head.
|
virtualinherited |
Update the pose of the bone based on the target.
Reimplemented in Creatures.Insects.Antenna, Creatures.Insects.Head, and Creatures.Leg.