Hello!
I have a Node that I am creating when an object is instantiated. The Node is then positioned. This object has an update method, which is called every time-step. In this method, I want to move the point about. In doing so, I found that the code underneath actually moves the point; even though if I print out the localtranslation before and after, it is the same.
Vector3f midPointSlide = midPoint.getLocalTranslation();
midPoint.setLocalTranslation(midPointSlide);
Can anyone think why this might happen? Surely it should make no difference at all. It's even the same Vector3f object...