![]() |
Creature Control for Unity v0.1
|
A bone in the model's rig.
Classes | |
| class | Pair |
| A (symmetric bone pair is present in the left and right side of the bone. More... | |
| class | RangeOfMotion |
| The range of motion (RoM) for a bone. More... | |
Public Member Functions | |
| virtual 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. | |
| Target | target |
| The pose target for this bone. | |
| Quaternion | toBoneRotation |
| The rotation to transform the target orientation into the orientation of the bone. | |
|
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 in Creatures.Head, Creatures.Insects.Antenna, Creatures.Insects.Head, and Creatures.Tail.
|
virtual |
Update the pose of the bone based on the target.
Reimplemented in Creatures.Insects.Antenna, Creatures.Insects.Head, and Creatures.Leg.