mgear-dev / mgear_dist

mGear v.3.x.x distribution repository
http://www.mgear-framework.com/
MIT License
184 stars 53 forks source link

Setting connector drop-down menu to "orientation" results in an averaged rotation of all IK Ref objects #64

Open rmetcalf-retro opened 3 years ago

rmetcalf-retro commented 3 years ago

Describe the bug If a component's IK Reference Array has multiple objects, and its connector is set to orientation (instead of standard), an orientConstraint is made with an "averaged" offset. This differs from the standard connector setting, where a parentConstraint is made (but offset is maintained).

To Reproduce Steps to reproduce the behavior:

  1. Create multiple control_01 objects (e.g. create 4 of them)
  2. Name one control: "hand" (this is optional, but I'll refer to this later as "hand")
  3. Adjust orientation on all control_01 objects -- by large amounts
  4. In "Component Setting" for each control_01, uncheck "World Space Orientation Align"
  5. Add all control_01 objects to hand control's IK Reference Array
  6. In "Main Settings" for hand control, change connector to "orientation"
  7. Build rig from guides
  8. Observe "averaged" orientation on the hand control

Screenshots mgear_orientation

mgear_orientation_built

Additional information NOTE: In screenshots, "EPIC_control_01" was used -- however this behavior is identical to the "control_01" component Maya version: 2019.3.1 mGear version: 3.7.11