Imagine bullets going out of my spacecraft and shooting other spacecrafts. All happening in a side scroller. How should the collision be handled?
onEnterFrame
if this.x + this.width >= that.x then
blah blah
end
or something with physics.doThisAndThat()?
Have in mind that the body of the spacecraft is not a rectangle, it can be anything, so we need to know when bullet is inside the shape of stagecraft, not inside the rectangle bounding box or png.
Thanks!
[import]uid: 21280 topic_id: 5327 reply_id: 305327[/import]