ROODAY Posted March 16, 2014 Share Posted March 16, 2014 I saw the example labeled when particles collide, but it didn't have what I wanted. Let's say that in a game there is a ship and an asteroid. How would I make it so that when the ship hits the asteroid, particles emit from the point of contact, so in this case sparks? Is there a way to check point of contact? And if so, would it need to be in a callback, so when the bodies hit create an emitter? Thanks for any help! Link to comment Share on other sites More sharing options...
rich Posted March 16, 2014 Share Posted March 16, 2014 Create an emitter, when your bodies collide position it to that point and then emit some particles. If you look at the sci-fly example you'll see there is an emitter that follows the space ship around, so it'd be similar to that. Link to comment Share on other sites More sharing options...
ROODAY Posted March 18, 2014 Author Share Posted March 18, 2014 What would the point of the collision be called? Link to comment Share on other sites More sharing options...
rich Posted March 18, 2014 Share Posted March 18, 2014 Using which physics system? (arcade, p2 or ninja). Link to comment Share on other sites More sharing options...
ROODAY Posted March 18, 2014 Author Share Posted March 18, 2014 p2 Link to comment Share on other sites More sharing options...
Recommended Posts