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

Description

The head of a creature.

Inheritance diagram for Creatures.Head:
Creatures.Bone Creatures.Insects.Head

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.

Member Function Documentation

◆ GetStdOrientation()

override Quaternion Creatures.Head.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.

Reimplemented in Creatures.Insects.Head.

◆ 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.


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