1
Support / Way to rotate loaded model permanently
« on: January 31, 2012, 11:26:00 pm »
Hi,
I load md2 model and it's rotated at start around Y-axis by 180 degrees. My game is taht object goes into the screen and should see its back but now I see front. Is here some way to rotate this object during loading?
EDIT:
I found solution a little bit too late.
Sorry for cluttering.
I load md2 model and it's rotated at start around Y-axis by 180 degrees. My game is taht object goes into the screen and should see its back but now I see front. Is here some way to rotate this object during loading?
EDIT:
I found solution a little bit too late.
Code: [Select]
object.rotateY((float) Math.PI);
object.rotateMesh();
object.clearRotation();
Sorry for cluttering.