|
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 void | DetectFeatures () |
| Detect features on this bone. | |
| override Quaternion | GetStdOrientation () |
| Get the standardized orientation for a bone. | |
| virtual void | RemoveFeatures () |
| Remove features from this bone. | |
Static Public Member Functions | |
| static BoneType | SetBone< BoneType > (Creature creature, Transform transform) |
| Set a Bone component to the give transform. | |
| static void | UnsetBone< BoneType > (Transform transform) |
| Remove a bone from the given transform. | |
Public Attributes | |
| Transform | end |
| The transform of the last bone in the tail. | |
| Creature | creature |
| The creature to which the bone belongs. | |
Protected Member Functions | |
| virtual void | Initialize (Creature creature) |
| Initiliaze the bone. | |
|
virtual |
Detect features on this bone.
This can be child bones or specific properties for this bone
Reimplemented from Creatures.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 from Creatures.Bone.
|
staticinherited |
|
staticinherited |
Remove a bone from the given transform.
| BoneType | The bone type to remove |
| transform | The Transform to remove it from |
| BoneType | : | Bone |
|
protectedvirtualinherited |
Initiliaze the bone.
| creature | The creature to which the bone belongs |
|
virtualinherited |
Remove features from this bone.
This can be child bones or specific properties for this bone
Reimplemented in Creatures.Insects.Head.
| Transform Creatures.Tail.end |
The transform of the last bone in the tail.
This should match the tip of the tail.