Hey, I’m writing a simple 2D box kinematic character controller and i have a problem with my character moving into walls, what makes all traces quite unusable. Simple test example: I place a box in air, I trace faaar down so it finds floor, I use location from trace hit result to snap box to floor. Hovewer, if then I trace down, or along floor normal it often (not always) gives me initial overlap with floor, what makes it impossible to further move my character, as other traces end up inside floor and the hit result doesn’t give much usable data.
If I’m misunderstanding the way I should code it, I’d be grateful for any hint how to solve this or where I could learn how to properly code moving character.