Skip to content

Maya Tools - Show Gimbal Flipping Tool #234

@david-cattermole

Description

@david-cattermole

Feature

Following on from #201, I think it would be helpful/cool to have a tool that can list the amount of gimbal flipping, the current rotation order and the recommended Rotation order for the selected transform nodes.

This tool only queries the scene it does not change nodes in any way - it's a diagnostic tool only.

Such a tool could be used to flag possible problems to users regarding gimbal flipping issues.

Usage Steps

  1. Select transform node(s)
  2. Run the tool.
  3. A Script Editor print out and dialog pop-up box displays the following information:
    • The current gimbal flipping percentage.
    • The current rotation order (eg. XYZ, ZXY, etc).
    • The best rotation order that will minimise the gimbal flipping - for all frames in the current timeline.
    • The expected maximum and average gimbal flipping percentage if the new rotation order is used.

For example a print out (to the Script Editor) or pop-up window might looks something like this:

= name | current rotation order (flipped %)  | best rotate order (flipped %)
- nodeA | XYZ (27%) | ZXY (12%)
- nodeB | ZXY (84%) | YZX (5%)

The first line is a header explaining the the output, each line then starts with "- " and contains all the details.

Something that might be tricky about this tool is that the original "ml Convert Rotation Order" tool only checks the current frame, however I think the tool would ideally check the 'gimballed' percentage for each keyframe on each object.

Software Versions

  • mmSolver version: v0.3.x
  • Maya version: All supported.
  • Operating System (OS): All supported.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions