Question by
Segy · Jan 20, 2016 at 10:17 PM ·
colliderrigidbody2dgroundeddouble jump
rolling sphere grounded
I'm trying to create a a rolling sphere in an endless runner game, I have double jump and in debug I added a grounded bool. But, because its a sphere and rolls with x,y,z rotation... it doesn't show as grounded when it rolls so I can't double jump. I went on constraints in rigidbody and ticked off z rotation. This fixed the problem but my ball doesn't roll anymore. Any help please?
Comment
Your answer