after much searching and physics section reading, this problem i have has me stumped,
Im using the Hello Physics canon code (except with a fire particle emitter) and when this coupled with a rigid body control it shoots perfectly and bounces off terrain as expected, however i want the canon/bullet to die after it hits the terrain or another object, so i added in a PhysicsCollisionListener
which unfortunately picks up the terrain and character object as a collision even though i start the canonball fall from +100f on the y-axis,
basically it keeps reporting that its colliding with the terrain and character (oto at CapsuleCollisionShape(4, 10) so i cant kill it,
what ive tried so far:
- heightfieldCollisionShape on the terrain
- the different get methods of PhysicsCollisionEvent
- debug mode on physics space to see collision shapes, only the bullet/canon sphere shape showed up.