tjheldna Posted April 27, 2013 Share Posted April 27, 2013 Hi All, I'm trying to do projectiles in LE3 C++. All is fine however I can't work out how to delete the entity when it collides. I have tried two ways. In the collision hook tried to delete the entity there. Though I can see why this won't work. I've wrapped the projectile in a class and mark it for deletion a little later in the game loop. I'm getting a crash there too. So I ask the question.... Where and when can I Release() an entity that has just collided? Cheers!!!!!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.