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

Description

The head of an insect.

Unity Properties

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

Public Member Functions

Quaternion GetStdOrientation_old ()
 The mandible on the left side of the head.
override Quaternion GetStdOrientation ()
 Get the standardized orientation for a bone.
override void UpdatePose ()
 Update the pose of the bone based on the target.

Public Attributes

Antenna leftAntenna
 The antenna on the left side of the head.
Antenna rightAntenna
 The antenna on the right side of the head.
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 insect head.
Insect insect [get]
 The insect to which this head belongs.

Member Function Documentation

◆ GetStdOrientation_old()

Quaternion Creatures.Insects.Head.GetStdOrientation_old ( )

The mandible on the left side of the head.

The mandible on the right side of the head

◆ GetStdOrientation()

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

◆ UpdatePose()

override void Creatures.Insects.Head.UpdatePose ( )
virtual

Update the pose of the bone based on the target.

Reimplemented from Creatures.Bone.


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