I'm trying to get a start point and when the mouse falls off a platform, he goes back to it, but I'm having some problems.
first I made a matrix called "start' and after the mouse was in the world used
start.setTo(mouse.getTranslationMatrix());
When the mouse is in the jump function I check y position and if it's over 20 I do:
mouse.setTranslationMatrix(start);
This works one time, but the next time he misses a platform it doesn't work anymore.