llafuente / unity-platformer

Unity platformer framework: IA, Ladders, Jumps, WallStick, WallJumps, Slopes, MovingPlatforms, OneWayPlatforms/Walls, Ropes and more...
MIT License
119 stars 23 forks source link

rotating slopes bug #7

Closed llafuente closed 8 years ago

llafuente commented 8 years ago

Proof: scenes/variable-slope.unity

If you stand over a variable slope, when it reach ~60/70º facing the slope (don't press anything), character starts climbing the slope.

This is produced by PlatformerCollider2D inside HorizontalCollisions there is an "invalid call" to ClimbSlope.

llafuente commented 8 years ago

Now the character don't climbup, rather stay in the same X-position.

When #14 is implemented behaviour will be complete