Move spline knot in local space

hi all,

i am stuck moving spline knots (vertex) in local space.

i use "getKnotPoint [...]" and "setKnotPoint [...]" functions to get and set knot position but the point3 values are in current working coordinate system.

how can i (relative) move a knot in local space in the desired axis by a specified value?

any hint into the right direction is really appreciated.

thanks in advance
-le1se

AttachmentSize
moveknotinlocalspace.jpg295.87 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
le1setreter's picture

forgot to thank you,

forgot to thank you, anubis.
i had very less time the last days. fast testing with coordsys local did not work for me but maybe i did something wrong. will give it a decent try as soon as possible and come back if i still need help on this. thanks.

Anubis's picture

in coordsys local

in coordsys local should works

my recent MAXScripts RSS (archive here)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.