So my game is a platformer and I would like some characters to be angled according to angle of the floor they are stepping on (floor object with solid behavior)
How do I do this? I only need the action (formula for angle), not anymore the condition.
Develop games in your browser. Powerful, performant & highly capable.
If the Players is overlapping the slope at an offset, you can set the Player animations to an angle. There was an example around here. Search for slopes.
Searching for slope delivers only this thread (at least for me, I'm also interested in this, so just chiming in