ScriptSpot home

Script

Stick Locator

By Mayec Rancel · 2009-12-25

Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.
Version
1.2
3ds Max compatibility
Unknown
How compatibility works

Choose the 3ds Max version you use. For example, selecting 2020 puts direct matches for 2020 first, followed by listings that say a supported version or newer.

Scripts that only mention an older version can still appear as “2020 unconfirmed.” Listings that rule out 2020 are excluded. Use “Show scripts with unconfirmed compatibility” to also see listings without a clear match.

Community reports show what worked for members on a specific release. They’re separate from the listing’s compatibility claims and don’t change the filter.

Original version requirement
This script has been tested in 3ds max 2010 x64, running on Windows Vista.
Date updated
2009-12-25
Legacy votes
23

Downloads

Tags: Animation, align, glue, transform, align vertex, parent, attach, Dummy, align normal

Description

Stick Locator
=============
version 1.2

written by Mayec Rancel

(macroScript)

Description:
Creates a point dummy, and parents it to the reference object's vertex/center,
using controller expressions.

This is useful to parent other objects to a specific part of a deforming
mesh, or an object whose transforms have been 'baked' (e.g. point cache).

I have found it specially useful, in FX work, for particle/fluid emitters.

Notes:
- Only the 'center' method can be used with splines.
- When using 'vertex' method, the dummy's rotation will align to the
vertex's normal.

Compatibility:
This script has been tested in 3ds max 2010 x64, running on Windows Vista.

Additional Info

Setup:

1. Copy "stickLocator_v1.2.mcr" to your scripts folder
(e.g. "C:\Program Files\Autodesk\3ds Max 2009\Scripts")

2. Execute "stickLocator_v1.2.mcr" script file from 3ds max, to register the
macroScript.

3. Go to "Customize > Customize User Interface".
In Category "Mayec Tools" you will find "Stick Locator" which you can drag to
a toolbar to have as a button, or associate it with a hotkey, etc

VERSION HISTORY
===============

Stick Locator v1.2
==================

Additions
---------
* Added the "pick vertex" feature.
* Simplified the whole interface/workflow.
* Basic smart-filtering by object type (if spline, won't allow 'vertex',
if dummy or point, won't appear in the multi-list box.)

========================================================

For this script and more, visit http://www.mayec.eu/

More by Mayec Rancel

View all contributions
Comments (3)

Comment policy

Pablo Emmanuel De Leo

A mi me pasa el mismo problema

Cuando coloco el point en el vertice y le doy que locate. Me hace en la lista de controles el scripting y el euler de posición y rotación, están activos y no el script.
Y el cluster se queda quieto en el lugar y no sigue el vertice.

Me aparece igual que el usuario tothebridge.

saludos y gracias por le herramienta.

tothebridge

Hey Mayec,

I'm getting the following error when I reload a scene that has used the script to attach a dummy to vertex. Everything works initially, but when the scene is saved and then reloaded, see attachement.

Hope you can work out a fix, this is Max 2010 32bit running Win 7 SP1 & latest hotfix installed.

Attachments
Reply to tothebridge
Mayec Rancel

Hi tothebridge. I'm sorry, first for seeing your comment so late, and second because I cannot reproduce the error you are having. If I stick a locator to an object's vertex, save the scene, and then open it again, everything is fine. I am also using Max 2010.

Can you check that the object you applied the locator to is still in the scene? I say this because that error looks like the one I get when you delete the driving node, without deleting the locator helper first. Then the locator's expression doesn't find the object it is refering to.

If this is not the cause for the issue, can you give me more clues as to what your Cylinder01 object had on it? any modifiers or anything special applied to it? Maybe send me the scene?