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.
Comments
I did a little script
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
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
move() is applied to the object,
to move the pivot use:
$.pivot = [x,y,z]
my recent MAXScripts RSS (archive here)