![]() |
Creature Control for Unity v0.1
|
The tail of a creature.
The base Creature does not have a Tail because not all creatures have one (like humans) but it can be used in derived Creatures like an Insects.Insect
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 | |
| Transform | start |
| The transform of the first bone of the tail. | |
| Transform | end |
| The transform of the last bone in the tail. | |
| 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 TailTarget | target [get] |
| The pose target for this tail. | |
|
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.
|
virtualinherited |
Update the pose of the bone based on the target.
Reimplemented in Creatures.Insects.Antenna, Creatures.Insects.Head, and Creatures.Leg.
| Transform Creatures.Tail.end |
The transform of the last bone in the tail.
This should match the tip of the tail.