Hello,
I have an animated sprite with each frame very different (running dog) and want each frame to have a different b2body shape. Currently have a simple box around him (the animation).
The dog animation sometimes has all legs under him and other frames the legs are spread.
I notice if the dog is sitting on curved rocks (a b2body) with legs apart he floats in mid air or rocks back and forth on top of it. I have a simple box shape set around him so it makes sense.
Would like his interaction with rocks to be more realistic (i.e. if he encounters a b2body of a rock between his front and back legs that he straddles the rock).
Advice?
Forgot to mention that I tried using b2RevoluteJoint for the dog's legs/body but the linkage kept stretching when encountering rocks.
I have an animated sprite with each frame very different (running dog) and want each frame to have a different b2body shape. Currently have a simple box around him (the animation).
The dog animation sometimes has all legs under him and other frames the legs are spread.
I notice if the dog is sitting on curved rocks (a b2body) with legs apart he floats in mid air or rocks back and forth on top of it. I have a simple box shape set around him so it makes sense.
Would like his interaction with rocks to be more realistic (i.e. if he encounters a b2body of a rock between his front and back legs that he straddles the rock).
Advice?
Forgot to mention that I tried using b2RevoluteJoint for the dog's legs/body but the linkage kept stretching when encountering rocks.