I have a gun shooting bullets in my game and want to detect once a bullet hits a static object like a platform or a wall (to remove the bullet).
The walls are static objects while the bullets are “kinematic”. Since I don’t want the bullets to be affected by gravity, I think there is no other choice as to set them to “kinematic”. The bullets should fly straight into one direction (no gravity etc.)
Evank wrote that “The general rule in Box2D is that a collision event requires at least one of the bodies involved to be dynamic. Static and kinematic bodies don’t collide with each other in any combination.”
Indeed I can’t get the collisions to work. So how could this be solved then…? [import]uid: 9644 topic_id: 6010 reply_id: 306010[/import]