StOneDOes Posted Monday at 05:23 AM Share Posted Monday at 05:23 AM 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 Monday at 12:14 PM Solution Share Posted Monday at 12:14 PM 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 Tuesday at 02:27 AM Author Share Posted Tuesday at 02:27 AM 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.