PuppetReprModel
Last updated
Last updated
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.
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
.
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.
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.