Hi All,
I have a bullet object that is set to 0 density. I was expecting that this would give it 0 mass which in turn would mean that it would transfer no force to an object it collides with. Things aren’t working out this way! Whenever my bullet hits a “critter” in my game, it “bumps” that critter.
What do I need to do so that no force/velocity is transferred to the object my bullet hits?
Here is the physics code for my bullet (named “img”… not the best name
) set up:
[lua]
physics.addBody( img, “dynamic”, { isBullet = true,
filter = bulletCollisionFilter,
density = 0,
bounce = 0
} )
[/lua]
And here is physics code from a “critter” multi-body object the player might shoot:
[lua]
physics.addBody( critter,
{ friction=0, bounce=0, shape = critterLeft, filter = critterCollisionFilter } ,
{ friction=0, bounce=0, shape = critterRight, filter = critterCollisionFilter } ,
{ friction=0, bounce=.4, shape = critterBottom, filter = critterCollisionFilter }
)
[/lua]
What am I missing?
Thanks 
[import]uid: 105707 topic_id: 35775 reply_id: 335775[/import]