Hi,
I’m having a hard time with too many collisions being missed (shots are passing through the target) when firing lasers at targets.
I get about 30% contact when lasers are fired at a target. My physics bodies are big enough, I’ve slowed down my shots as much as I can.
when I spawn a shot, this is my physics body:
physics.addBody( torpedo, “dynamic”, { density = 0, friction =0, bounce = 0, radius=16, isBullet = true})
and for my player:
physics.addBody( player, “dynamic”, { density = .3, friction = .1, bounce = .3, radius = 32 } )
Any thoughts on what is going on? This is very important to me finishing my game!
Thanks, Greg