ScriptSpot

Script

gizmoControl

By Martin Breidt · 2007-07-29

Version
0.43
Version requirement
3ds Max 8-2022
Other software required
Requires Larry Minton's Avguard MAXScript Extensions v.7.0.3 or greater. Download at http://www.maxplugins.de/r7_files/avguard/avg_dlx70_9.zip (Max8) or http://www.scriptspot.com/extensions/web_upload/Larry%20Minton/avg_dlx_900.zip (Max9) and install as plugin before you run this script. This extension is already installed in 3ds Max 2008+
Date updated
2021-05-24
Votes
42
Download
Download
Description

gizmoControl UI screenshot This macroscript (to be found in the "MB Tools" category after executing the .mcr) will allow you to link the transformation of a modifier gizmo to some other scene object. Afterwards, the gizmo will always be fully aligned to that other scene object, which can be freely animated by any kind of controller and linked to any other scene node. In some way this is very similar to World Space Modifiers but it works for any kind of modifier gizmo.

This tool can be very useful for creating complex modifier animations, for example animating a Slice modifier's plane along a path, attaching a UVW Map modfier to some animated helper object, transforming a Displace modifier with some other object, or having an extra node control the- symmety plane of a Symmetry modifier.

New in v0.43:

  • Fixed a small typo (linebreak) in the UI code that caused an error when running the script.

New in v0.4:

  • Fixed a major bug that caused incorrect gizmo transformations when used with objects that have an edited pivot point.
  • Some minor UI tweaks

New in v0.3:

  • Added the option (hold SHIFT when pressing the 'Link' button) to keep the initial offset. The gizmo will stay where it is but follow any further movement of the control node.
  • Added the option (hold SHIFT when pressing the 'Reset' button) to keep the current gizmo transformation. Use this if you don't want to move the gizmo but want to remove the link to the control node.

New in v0.2:

  • Copy/pasting a modifier that has a linked gizmo now works correctly
  • Added a button to remove the scripted controler that links the gizmo to the control node
  • Should work correctly with Merge and Xref

Additional Info

Currently only works for modifier gizmos that can move, rotate and scale (i.e. use a Matrix3 controller).

Tags: Animation, modifier, link, utility, gizmo, macroscript

Comments (6)

Small bug fix

Martin Breidt · 2021-05-24

Sorry I completely missed the small typo/linebreak that caused an error when trying to run the script. This is fixed now in v0.43.

Doesn't work with Max 2016

stevesideas · 2017-10-10

Quite an old script and sounds great but doesn't work when I run evaluation using max 2016. Stops on line 112/113: label

You must remove spaces

Royal Ghost · 2017-10-15

@stevesideas, you must remove spaces between 112-113 string to merge it to one string, to get script work.

Thanks very much

3dline · 2015-01-30

I use it with slice modifier with a dummy and spring controller on it to mimic the surface of the water in a glass. works like a charm for me...
Thank you very much.

gizmo control related

ionut9 · 2015-11-10

Hi,
Please can you post a tutorial with your example. quote: I use it with slice modifier with a dummy and spring controller on it to mimic the surface of the water in a glass. works like a charm for me...
ionut9@gmx.net
Thank you.
Regards,
John

Martin Breidt · 2007-08-16

Also see my blog for some more explanations and help for this script