Hello all,
I am relatively new to box2d and so far so good, minus figuring out problems with making my playable character jump. I've gotten him to jump, but noticing some "buggy" reactions. For example, I can reset my jump variable when I make contact with solid objects, allowing a wall jump effect. However, ever grounds with absolutely 0 friction allow me to climb them. I am guessing this would be due to my character having 0.2 friction?
I'm still a bit curious if I am doing this whole "jump" thing correctly. I am using the b2ContactListener to reset a boolean jump variable, but should I be trying to check friction and other things myself within these contact events as well? Thanks much.
I am relatively new to box2d and so far so good, minus figuring out problems with making my playable character jump. I've gotten him to jump, but noticing some "buggy" reactions. For example, I can reset my jump variable when I make contact with solid objects, allowing a wall jump effect. However, ever grounds with absolutely 0 friction allow me to climb them. I am guessing this would be due to my character having 0.2 friction?
I'm still a bit curious if I am doing this whole "jump" thing correctly. I am using the b2ContactListener to reset a boolean jump variable, but should I be trying to check friction and other things myself within these contact events as well? Thanks much.