i have two spheres in the scene , one is at right and the other is in the left,also a point helper at center:[0,0,0] .
now i'm gonna mirror right sphere's vertecies to the left sphere's vertecies,i've Written a script below,but once i'm evaluating Max crashs :hmm:
i was wondering if you scripters could help me doing this and cleaning my script,scince maybi i've written it right or wrong!.
fn mirrorinfos =
right_obj = $right.baseobject
left_obj = $left.baseobject
center_obj = $Point01
rightAr= (polyop.getvertselection right_obj) as array
leftAr= (polyop.getvertselection left_obj) as array
for i =1 to rightAr.count do
rpos = polyop.getvert right_obj rightAr[i]
for l = 1 to leftAr.count do
lpos = polyop.getvert left_obj leftAr[l]
newpos = polyop.setvert $left leftAr[l] (((Rpos-$Point01.pos)*[-1,1,1])+$Point01.pos)