PuppetReprModel

Introduction

PuppetReprModel inherits from ReprModel. It includes variables that are specific for slave bone representations driven by physics.

This section explain the varables that are specific for PuppetReprModel. Variables of ReprModel are described here.

Variables

Puppet

  • Pheasy: Pheasy component responsible for handling physics of this slave bone.

  • Constraint: TargetConstraint of PuppetReprModel.Pheasy that represent the articulation constraint of the slave bone.

  • Goal: Transform which local rotation will represent the target rotation of the salve bone. PuppetReprModel.Pheasy will modify PuppetReprModel.Constraint to make local rotation of slave bone to match local rotation of PuppetReprModel.Goal.

  • Use Physics: If true, required components to make slave bone to be driven by physics (Rigidbody, Pheasy, ConfigurableJoint and TargetConstraint) will be instantiated (if they are not already) and configured automatically.

  • Is Special: If true, physics for this slave bone will be configured following PuppetModel.configuration.special.

Locking

  • Min Local Rot Z: Minimum local rotation on its Z axis. If master bone's local rotation is lower than this value on its Z axis, slave bone will maintain on its minimum local rotation.

  • Max Local Rot Z: Maximum local rotation on its Z axis. If master bone's local rotation is greater than this value on its Z axis, slave bone will maintain on its maximum local rotation.

  • Fixed Local Rot: If true, slave bone will maintain on its current local rotation.

Read Only

  • Ready: If true, components required to handle physics for this slave have been instantiated and configured successfully.

  • Puppet: Reference to the Puppet module responsible for driving physics for this slave bone.

Last updated