scaleX = -1 seems to flips normals

Software: Away3D 4.x

pete shand, Newbie
Posted: 12 October 2011 09:47 AM   Total Posts: 21

Hey there

i have a mesh. when i set its scaleX to -1 (or any negative number) it seems to flip the normals.

I can use MeshHelper.invertFaces(mesh); to flip the normals back… however the problem with this is that I’m cloning the mesh and using it elsewhere, where the scaleX is a positive number, so then their normals are flips incorrectly…

anyone know if there is a way around this without loading a different mesh for the negative scaleX?

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X