Hi all
My question is simple; I must fit the Gizmo and Center of any modifier with a pivot of object, but I can not do this.
I tried like this:
help = Point pos:[50,0,0] -- create help point
p = Plane () -- create plane
mod_bend = addModifier p (Bend ()) -- add modifier bend to plane
modPanel.setCurrentObject p.bend -- set the mod panel
subobjectLevel = 1 -- select the gizmo bend
p.bend.gizmo.pos = help.pos -- move the gizmo in help centerpivot
Now, with the example above, I can move the gizmo at the center of point, but if I write like this:
p = Plane transform:(matrix3 [1,0,0] [0,0,1] [0,-1,0] [0,0,17.5]) isSelected:on
CenterPivot p
help = Point pos:[0,0,0] isSelected:on
CenterPivot help
help.pos = p.pos
help.pos = [p.pos.x,0,0]
p.pivot = help.pos
mod_bend = addModifier p (Bend ())
modPanel.setCurrentObject p.bend
subobjectLevel = 1
p.bend.gizmo.pos = help.pos
it does not work ... why? thanks for any help :)
By Michele71 · 2014-09-01
barigazy · 2014-09-01