tjheldna Posted September 15, 2013 Share Posted September 15, 2013 Hi Since todays latest terrain update I'm getting crashes in my projectile class which didn't happen before. The crashes are occurring during the physics update I believe. The crash is only occurring when trying to release an Entity with a Rigid Body and a mass and velocity set aka a projectile. If the entities velociy is set to 0 the crash doesn't occur when released. The entity is released after world->Render(); Here is a screen of the call stack.... If you need I can create a project demonstrating, but that will have to wait till tomorrow. I just thought I'd give a heads up if it's something simple. Cheers! Link to comment Share on other sites More sharing options...
Josh Posted September 15, 2013 Share Posted September 15, 2013 This is an area that would not surprise me if a bug existed, due to some internal updates. I've been doing some work under the hood to simplify the physics system, that will result in better long-term stability. The engine has had problems revolving around my multithreading system. My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
tjheldna Posted September 18, 2013 Author Share Posted September 18, 2013 After some messing around It seems that I can't work out a way to delete one of those objects. I'll put together a simple project to show the issue. Just for my reference though, where is the best place in the game loop to delete an entity? Cheers Link to comment Share on other sites More sharing options...
Josh Posted September 18, 2013 Share Posted September 18, 2013 It should not matter. It should even be safe to delete them within a collision callback, now. My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts