Tuesday, August 13, 2019

libgdx - Move body to mouse click and stop


I'm trying to have a body move to the player touch and stop once he reaches the destination. I have the player boxed in to prevent him to move out of bounds, I can somewhat do that with translate but with collision, it doesn't work properly, is there a better solution for this?





No comments:

Post a Comment