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.
Thanks.