Well, #indiedev is more like "Do all, with none."
Well, #indiedev is more like "Do all, with none."
Otherwise you could do a raycast from the offending enemy, through your character and set your characters end location in front of any collisions that are hit by the ray cast.
Otherwise you could do a raycast from the offending enemy, through your character and set your characters end location in front of any collisions that are hit by the ray cast.