Hi, I am new to jME, just doing my first project and I like it.
I want to do z-axis position correction on ball after bouncing off the block like this:
physicsBall.setLocalTranslation(physicsBall.getLocalTranslation().setZ(-150f));
but return value of "physicsBall.getLocalTranslation().setZ(-150f)" is void … I am wondering why, I think Vector3f would be better
… or should it be done otherwise?
Okay, I added this to the Vector3f and Vector2f classes.
Would you maybe add this changes to the set() methods of Quaternions?
And then, because this kind of setters would be slightly slower then "real" setters, because the cannot be inlined to a single primitive write, would you mind making the Quaternions x,y,z and w public?