Click for video
- Extract the content of the .rar file anywhere on disk.
- Drag the anchorTransform.mel file in Maya to permanently install the script.
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.
transform = "cube" driver = None start = 1001 end = 1010 import anchorTransform anchorTransform.anchorTransform(transform, driver, start, end)
import anchorTransform.ui anchorTransform.ui.show()
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.