hey can someone tell me that how to control scaling and tranformations and orientations in JPCTDemo example
Right before the level is added to the world, add the lines:
level.translate(x,y,z);
level.rotateX(float);
level.rotateY(float);
level.rotateZ(float);
level.scale(float);
I think that's right, but I'm kind of a noob with jpct and I haven't used Java in a while.
So will it enable me to keep start position at any place and orientation.....?
see ..my main prob is to keep the postion ,orientation and scaling of atart postion as per my choice..
The start position is the position of the camera. You really need to work in the y-up position of the modeler so the gravity works, etc, so it's better to work on the orientation of your model inside your modeling program before you export it. Just play around and you'll figure it out.