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

Description

The torso of an insect.

Unity Properties

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

Public Member Functions

virtual 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 neck
 The neck of the creature.
Transform upperThorax
 Uppermost part of the chest.
Transform thorax
 The middle of the chest.
Transform lowerThorax
 The lowermost part of the chest.
Transform upperSpine
 The uppermost part of the spine.
Transform spine
 The middle of the spine.
Transform lowerSpine
 The lowermost part of the spine.
Transform pelvis
 The pelvis.
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

Insect insect [get]
 The insect to which this torso belongs.
new TorsoTarget target [get]
 The pose target for this torso.

Member Function Documentation

◆ GetStdOrientation()

virtual Quaternion Creatures.Bone.GetStdOrientation ( )
virtualinherited

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 in Creatures.Head, Creatures.Insects.Antenna, Creatures.Insects.Head, and Creatures.Tail.

◆ 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

◆ spine

Transform Creatures.Torso.spine
inherited

The middle of the spine.

The spine is below the chest


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