Mod Tool: Difference between revisions

m
no edit summary
m (getting position of points)
mNo edit summary
Line 628: Line 628:
  ' update the array
  ' update the array
  oGeometry.Points.PositionArray = aPositions
  oGeometry.Points.PositionArray = aPositions
  ' apply the changes for point 0 (in this we changed only x dimension to -12)
  ' apply the changes for point 0 (in this case we changed only x dimension to -12)
  Translate oObj, aPositions(0, 0), aPositions(1, 0), aPositions(2, 0), siAbsolute, siView, siCtr, siXYZ, , , , , , , , , , 0
  Translate oObj, aPositions(0, 0), aPositions(1, 0), aPositions(2, 0), siAbsolute, siView, siCtr, siXYZ, , , , , , , , , , 0
  SaveKey oObj & ".kine.local.posx," & _
  SaveKey oObj & ".kine.local.posx," & _
oObj & ".kine.local.posy," & _
oObj & ".kine.local.posy," & _
oObj & ".kine.local.posz", 1, , , , True
oObj & ".kine.local.posz", 1, , , , True




8,452

edits