I have a problem when I convert .XML to JME…In the class that I use to covert, my objects…the scale is correct and the size that show on screem too…But when I use the main class of may game…the scales is wrong…My main class extends FixedFramerateGame and the class that I convert extends SimpleGame…Something that I can do?
I find the error…but now I have one more problem…When I change the scale…triMesh.setLocalScale(new Vector3f(50, 50, 50))…for instance, my cursor get only the position (1, 1, 1)…get the positon only into the green square like show the image below…
well, that's how it all works…when you translate, scale or rotate an object you don't really change the positions of the vertices. (cause that would be dead slow) you just change what the modelmatrix will be set to when the object will be rendered. and all vertices are multiplied by this modelmatrix(plus a viewmatrix and a projectionmatrix)