StOneDOes Posted March 10 Share Posted March 10 What is the correct way to delete an entity from the world? (Ingame, not in the editor) Quote Link to comment Share on other sites More sharing options...
Solution Dreikblack Posted March 10 Solution Share Posted March 10 You need to delete all strong references to an entity to do it. To remove entity that was added in the Editor usually enough just to remove it from scene: scene->RemoveEntity(entity); Quote Link to comment Share on other sites More sharing options...
StOneDOes Posted March 11 Author Share Posted March 11 Thanks I didn't see that function as its not documented. 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.