About this site

ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.

More like this

gizmoControl

Submitted by Martin Breidt on Sun, 2007-07-29 05:41

42
votes

Version:

0.4

Date Updated:

02/23/2008

Author Name:

Martin Breidt

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.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).

Version Requirement:

3ds Max 8-2008

Other Software Required:

Requires Larry Minton&#39;s Avguard MAXScript Extensions v.7.0.3 or greater. Download the <a href="http://www.maxplugins.de/r7_files/avguard/avg_dlx70_9.zip" target="_blank">Max8</a> or <a href="/extensions/web_upload/Larry%20Minton/avg_dlx_900.zip" target="_blank">Max9</a> version and install as plugin before you run this script. This extension is already installed in 3ds Max 2008.<br />

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...[email protected]
Thank you.
Regards,
John