In certain situations I would to override the default box2D collision response behavior between a static and a non-static body. I still need the bodies to collide and not overlap each other but I don't want the collision response to change the objects velocity.
For example if I had a body moving upwards that collides with a static body above it I don't want it to immediately deflect downwards, instead I would like to keep "pushing" against the body above until gravity causes it to fall back down.
Can anyone give me suggestions on how to implement this?
Thanks.
For example if I had a body moving upwards that collides with a static body above it I don't want it to immediately deflect downwards, instead I would like to keep "pushing" against the body above until gravity causes it to fall back down.
Can anyone give me suggestions on how to implement this?
Thanks.