Instance_create_layer not working on physics object

LSSPLY

Member
When a object is destroyed, I want to create another object in a specific location, but idk why is doesn't appear.
GML:
instance_create_layer(spawnx, spawny, "Instances", obj_Tank);
Note: the object are physics objects.
 

Slyddar

Member
Place a breakpoint on the line, and use the debugger to see the values of spawnx and spawny and if it's created as you expect.
 
Top