hello
When I select an object, activate Pivot mode, "pivot Only" and move the pivot I have in max listener :
move $ [x,y,z]
But when I write :
maxOps.pivotMode = #pivotOnly
move $ [x,y,z]
it makes my object move. Not the pivot.
Can somebody explain ? Thanks.
Comments (3)
Comment policy
I did a little script :
----------------
(
local savesnap=snapMode.active
snapMode.active=true
pt = pickpoint snap:#3d
for a in $ do
(
a.pivot = pt
)
snapMode.active = savesnap
)
----------------
but I look a way to rotate pivot point to a click like for this script
----------------
(
local savesnap=snapMode.active
snapMode.active=true
pt = pickpoint snap:#3d
WorkingPivot.setTM (matrix3 [1,0,0] [0,1,0] [0,0,1] pt )
snapMode.active = savesnap
)
nimportawak
sorry made a mistake, I made a little script to align working pivot :
----------------
(
WorkingPivot.EditMode = true
local savesnap=snapMode.active
snapMode.active=true
pta = pickpoint snap:#3d
somethin = Point centermarker:on size:10 constantscreensize:on pos: pta
somethin.lookat = $Working_Pivot001
delete somethin
WorkingPivot.EditMode = true
snapMode.active=savesnap
)
----------------
would like to align the pivot...
move() is applied to the object,
to move the pivot use: