daily pastebin goal
71%
SHARE
TWEET

Untitled

a guest Aug 12th, 2017 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.                 var triangles:int[] = combineMesh.mesh.triangles;
  2.                 var normals:Vector3[] = combineMesh.mesh.normals;
  3.                 for(var n:int = 0;n<normals.length;n++){ normals[n] *= -1; }
  4.                 combineMesh.mesh.normals = normals;
  5.                 combineMesh.mesh.triangles = triangles;
RAW Paste Data
Top