- Home /
Question by
heeho17 · May 28, 2014 at 03:39 AM ·
unity 2dcollider 2d
Sliding in a 2D side scrolling game?
Hey Unity Community. I've been working on a 2D side scrolling project of mine for a while now and I've run into some trouble. when my character slides in the game (already have a sliding animation), the colliders that are on my character are still in the position as if he was still running straight up, causing the colliders to hit the obstacle I'm trying to avoid by sliding under and end the game. I hope that makes enough sense. help anyone? thanks all!
Comment
Answer by Eric5h5 · May 28, 2014 at 03:52 AM
Change the colliders to an appropriate configuration when you do the sliding animation.