19.05.2015, 15:21
"This part of code executes after creating an object. How to fix this? " DestroyDynamicObject destroys the object, i.e: the object will disappear.
And you say that that code is executed after creating an object which means you create the object and then destroy it immediately.
And you say that that code is executed after creating an object which means you create the object and then destroy it immediately.