Creature Control for Unity v0.1
Loading...
Searching...
No Matches
Creatures.Tail Class Reference

Description

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

Unity Properties

Inheritance diagram for Creatures.Tail:
Creatures.Bone

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.

Member Function Documentation

◆ GetStdOrientation()

override Quaternion Creatures.Tail.GetStdOrientation ( )
virtual

Get the standardized orientation for a bone.

Returns

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.

◆ UpdatePose()

virtual void Creatures.Bone.UpdatePose ( )
virtualinherited

Update the pose of the bone based on the target.

Reimplemented in Creatures.Insects.Antenna, Creatures.Insects.Head, and Creatures.Leg.

Member Data Documentation

◆ end

Transform Creatures.Tail.end

The transform of the last bone in the tail.

This should match the tip of the tail.


The documentation for this class was generated from the following file: