I want the character to move to the point. After clicking the mouse clicks, I get the position coordinate
At first I used this way:
Animation.CreateAndStartAnimation(“anim”, player, “position”, 30, time, player.position, endPoint, Animation.ANIMATIONLOOPMODE_CONSTANT);
But it will not hit the wall after add the collision,How to correctly collide and move smoothly to the endPoint?