Hey Cellis depends how you want to do it really. for example, using the mouse as your target makes things very easy, as you have detailed information on a mouse click about what is under it - the xyz position of the surface in scene-space, the uv coordinate (if the drawing primitive is textured) in material-space, and material instance, object instance, face instance etc. If you wanted to draw a hole in the wall with this information, you could do so by grabbing the uv coordinates from the MouseEvent and drawing a bullet hole directly onto the texture bitmap.
If you are talking more about having particles (bullets) bouncing off a wall, then yes, a physics engine would be requried. The Wow-engine is a popular choice, and has been around for a while so is pretty stable, or you could try the newer jiglib library which has better collisions with ridged bodies, although not necessarily a benefit for simulating bullets. atb Rob On Wed, Mar 11, 2009 at 2:33 PM, cellis <[email protected]>wrote: > > Hello All, > > Yet Another Collision Detection question! This is not about walls, but > bullets. I want to be able to fire bullets at a collada and test for > collisions. What is the best way to do this? Do i need a physics > engine? -- Rob Bateman Flash Development & Consultancy [email protected] www.infiniteturtles.co.uk www.away3d.com
