Anchor transforms to world or object space in Maya.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
icons
scripts
.gitignore
LICENSE
README.md
anchorTransform.mel
anchorTransform.mod

README.md

maya-anchor-transform

Anchor transforms to world or object space in Maya.

Click for video

Installation

  • Extract the content of the .rar file anywhere on disk.
  • Drag the anchorTransform.mel file in Maya to permanently install the script.

Usage

A button on the MiscTools shelf will be created that will allow easy access to the ui, this way the user doesn't need to worry about any of the code. If user wishes to not use the shelf button the following commands can be used.

Command line:

transform = "cube"
driver = None
start = 1001
end = 1010

import anchorTransform
anchorTransform.anchorTransform(transform, driver, start, end)

Display UI:

import anchorTransform.ui
anchorTransform.ui.show()  

Note

Anchor a transform to world or object space for a specific time range. Can be used to fix sliding feet on a walk cycle. The script uses the Maya API to calculate local transforms to be key framed, by doing this there is no need to loop over the animation greatly speeding up the work flow. Existing in and out tangents will be copied when new key frames are inserted. Once all keys are set an euler filter is applied to the animation curves connected to the rotate attributes.