Notifications
Clear all
[Closed] Some thing wrong with working – pivot ?
Dec 18, 2016 4:11 am
i make simple script , it move object pivot to normal select face , every thing is ok , but when i move selected face it not work , i dont know why , can you help me ?
my code :
ar = (polyop.getFaceSelection $ ) as array
dd = polyop.getFaceCenter $ ar[1]
matran1 = matrixFromNormal (polyop.getFaceNormal $ ar[1])
matran = matran1 + (matrix3 [0,0,0] [0,0,0] [0,0,0] dd)
WorkingPivot.EditMode = true
WorkingPivot.setTM matran
WorkingPivot.UseMode = true
in coordsys matran move $.selectedFaces [0,0,1000]
i think the problem is : can not use move select face in working pivot ? , is it 3dsmax bug ?