I’m having issues with rotating the player to align with a surface.
In my game, the player can enter a state of which they’re crawling. Collision with slopes and such does not work very well and you often get stuck on the geometry. This would be improved if the player were to rotate based on surface normals.
I’ve searched for solutions, but none helped much with my specific issue. Most were about aligning parts rather than the player.
Would appreciate to get pushed in the right direction.