I have gone through the 3D object documentation in JPCT but i couldn't find a way to scale an 3D object[a Cylinder] along y axis only. My world have multiple objects and I goal is to scale one particular object. Appreciate any leads. Thank you!!
Something like this openGL function glScalef(1,10,1).
The user AGP lists a method of achieving this here: JPCT Forums
It basically uses the following vertex controller class, and I've used it successfully as well:
And you can call it like this:
vertexController = new VertexController(object);
Then in your onDrawFrame, or whereever required:
vertexController.scale(new SimpleVector(1,1.5f,1));