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

Description

An antenna in a TargetRig which is used to control an antenna of a model.

Inheritance diagram for Creatures.Insects.AntennaTarget:
Creatures.Target

Public Member Functions

override void PoseTarget ()
 Update the pose of the target bone.
virtual void Align ()
 Align the pose.

Public Attributes

Transform upper
 The scape target.
Bone.RangeOfMotion upperROM = new(0, 170)
 The range of motion of the upper bone.
float upperLength
 The length of the upper bone.
Transform lower
 The funiculus target.
Bone.RangeOfMotion lowerROM = new(0, 170)
 The range of motion of the lower bone.
float lowerLength
 The length of the lower bone.
Transform end
 The end target of this antenna target chain.
Vector3 girdleAxis
 The girdle axis is the axis for up/down movement.
Vector3 extensionAxis
 The extension axis is for the left/right movement.
bool inverseKinematics = false
 Use inverse kinematics.
Transform ikTarget
 The inverse kinematics target.
Side side
 The Side of of body where this antenna is located.
AntennaTarget otherSide
 The antenna target on the other side of the creature.
Rig rig
 The target Rig to which this target belongs.
bool isMatched = false
 Is this target matched to a bone?

Protected Member Functions

void PoseTargetUpper ()
 Calculate the upper target orientation in world space.
void PoseTargetLower ()
 Calculate the lower target orientation in world space.

Member Function Documentation

◆ PoseTarget()

override void Creatures.Insects.AntennaTarget.PoseTarget ( )
virtual

Update the pose of the target bone.

Reimplemented from Creatures.Target.

◆ Align()

virtual void Creatures.Target.Align ( )
virtualinherited

Align the pose.

This will make the pose of the creature symmetric

Reimplemented in Creatures.HeadTarget, Creatures.Insects.HeadTarget, and Creatures.TailTarget.


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