I am really new user for jme and i am learning this is engine for the documents and some videos in youtube and now for the question.
This is a really nooby question what is the different between object.move() and Object.setLocalTranslation()?
I am really new user for jme and i am learning this is engine for the documents and some videos in youtube and now for the question.
This is a really nooby question what is the different between object.move() and Object.setLocalTranslation()?
move moves relative to the current translation while setLocalTranslation, well, uh, sets the translation absolutely.
Imagine an object at 0 10 0
move(0, -10, 0) => translation is 0 0 0
setLocalTranslation(0, -10, 0) => translation is 0 -10 0