ScriptSpot

Forum topic · General Scripting

Move a helper?

By WillyWonka · 2007-04-02

Description

How do I move a helper from its current location to geometry.max?

There doesn't seem to be a .pos or a .rotation for it.



I'm trying to get it to update every time the geometry on the scene updates...

when geometry geometry changes id:#constraint do (

    print "changed"

    -- this.pos = geometry.max

)

Comments (1)

vasilescu_anton · 2007-08-28

The helper as any object in max has a .pos property so assuming your helper is the selected obhject you can say: $.pos = geometry.max