StOneDOes Posted March 10, 2025 Posted March 10, 2025 What is the correct way to delete an entity from the world? (Ingame, not in the editor) Quote
Solution Dreikblack Posted March 10, 2025 Solution Posted March 10, 2025 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 Check out Slipgate Tactics - turn based tactics Quake fan game, which is made with Ultra Engine/Leadwerks 5: https://www.leadwerks.com/community/topic/61480-slipgate-tactics-demo/
StOneDOes Posted March 11, 2025 Author Posted March 11, 2025 Thanks I didn't see that function as its not documented. Quote
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.