Jump to content

BlenderOni: Difference between revisions

2,815 bytes added ,  17 May 2022
→‎Options: Explained more options
(→‎Options: Described first three options)
(→‎Options: Explained more options)
Line 43: Line 43:


===Object Constraint Switch===
===Object Constraint Switch===
 
Switches object constraints on and off within selected objects. Used to constrain and unconstrain character model objects to the rig. '''Use in Object Mode.'''


===Bone Constraint Switch===
===Bone Constraint Switch===
Switches bone constraints on and off within selected armature bones. Used to constrain and unconstrain rig to character model objects. '''Use in Pose Mode.'''


===Object Visual Transformer===
===Object Visual Transformer===
Applies visual transform and keyframes rotation and location data for every selected object in the specified frame range. Used as a way to copy animation data from the rig to the character models. '''Use in Object Mode.'''


===Bone Visual Transformer===
===Bone Visual Transformer===
Applies visual transform and keyframes rotation and location data for every selected bone of the aramture in the specified frame range. Used as a way to copy animation data from character models to the rig. '''Use in Pose Mode.'''


===Set Object Constraint Targets===
===Set Object Constraint Targets===
Sets the targets of all of the constraints named "Copy Rotation", and also "Copy Location" in case of pelvis, to the specified object. Used to constrain the selected character model to the specified rig.


===Set Rig Bone Constraint Targets===
===Set Rig Bone Constraint Targets===
In the specified rig, sets the target names of predefined bone constraints with names ending in one of the selected suffixes (.001 or .002) to the appropriate Oni character model object name with the specified suffix. Used to constrain rigs to the character models. '''Can be used in any object interaction mode.'''
To explain more clearly: The Rigify-Oni rig has two sets of bone constraints of Copy Location for the torso and torso_pivot bone, and Copy Rotation for all of the remaining bones in the FK and Torso layers. They are responsible for copying  rotation and location data from the targeted character models, with the influence of those constraints being controlled with the corresponding Pose Matching bones (Pose1 for .001 constraints and Pose2 for .002). The character models will always have their body objects named the same way (pelvis, torso, chest, etc.), and because of that, Blender adds suffixes to their names as more characters are imported, starting with ".001" suffix.
Because of this, the way to constrain an instance of the Rigify-Oni rig to the given character model is to set the target names of the .001 or .002 bone constraint targets to the appropriate Oni character model objects with the appropriate suffix. (BlenderOni has the Oni character model object names hardcoded, it only needs their suffix)
Example: You want to constrain rig.001, to the character model with .003 suffix through the rig's .002 bone constraints. To do that, you need to:
*Input rig.001 as the target rig name,
*Select .002 as the Bone constraints' suffix,
*Input .003 as the Target objects' suffix,
*Press Set Rig Bone Constraints Targets.
*Make sure Pose1 bone is below the floor level (Y<0)
*Make sure Pose2 bone is above the floor level (Y>0.1)
Rig.001 will now be constrained to the Oni character model with .003 suffix.


===Constrain Character Model===
===Constrain Character Model===
191

edits