E
Edwin
Guest
For example I have a big object and a small object. When the small object collides with the big object, small object needs to find the nearest position where it's not colliding with the big object.
I need this because if the player get stucked in the wall, he need to unstuck but not simply moving at random direction. Instead of this, he needs to move at direction that is nearest to him.
I need this because if the player get stucked in the wall, he need to unstuck but not simply moving at random direction. Instead of this, he needs to move at direction that is nearest to him.