Open ciro-unity opened 7 years ago
a possible fix would be to add this check to the collision statement:
collisionData.contacts[0].normal == Vector2.up
This would mean that having slanted platforms would result in the user not being able to jump off them
Yeah, maybe I can check the normal in a range (so if Y is more than 0, should be a valid platform). That might introduce more bugs than fix things… we'll see. It's not a super high priority issue, but I'll leave it open as a reminder.
From Art of Jimbo on Twitter