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

Description

A bone in the model's rig.

Inheritance diagram for Creatures.Bone:
Creatures.Head Creatures.Insects.Antenna Creatures.Leg Creatures.Tail Creatures.Torso Creatures.Insects.Head Creatures.Insects.Torso

Classes

class  Pair
 A (symmetric bone pair is present in the left and right side of the bone. More...
class  RangeOfMotion
 The range of motion (RoM) for a bone. More...

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

Creature creature
 The creature to which the bone belongs.
Target target
 The pose target for this bone.
Quaternion toBoneRotation
 The rotation to transform the target orientation into the orientation of the bone.

Member Function Documentation

◆ GetStdOrientation()

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

◆ UpdatePose()

virtual void Creatures.Bone.UpdatePose ( )
virtual

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: