Hello,
I'm making a game where the player can stick to floors,walls,ceilings,etc..
When the player sprite is overlapping collider
-->rotate 4degrees toward collider's angle.
That's working not too bad.
Now my problem is, when the player goes on the other side of the collider..
for example, the collider angle = 0�
If the player is on top of it, then it's perfect.
But if he's stick to the bottom of it, his angle should then be 180�(flipped) instead of 0�, so there's a little problem here...
Here is a very basic capx, without the sticking ability but you still can see the problem:
https://www.dropbox.com/s/hhzzf7kw84gru3k/alignement_problem.capx
I think I can resolve this with the "overlapping at offset", but I'm having real troubles to figure it out...so I thought maybe I could ask some help on the forum...
Thanks a lot if you can help !