Destroy Actor not working?
I have a weapon-type actor that's going at 500px/s and interpolating size at the same time. When it collides/overlaps with the target, I have it set to destroy. Is there an issue with an interpolating actor being destroyed mid interpolate?
Comments
It all depends on how you currently have everything setup, one of the objects that collide with one another must have moveable ticked;
A quick search will bring up lots of threads that give the useful information you need;
http://forums.gamesalad.com/discussion/24724/does-interpolate-kill-overlapcollide
http://forums.gamesalad.com/discussion/23382/help-interpolate-collide
So the following would not leave a 1 pixel window for collision/overlap detection?
If (self:pos:Y != specific number)
- interpolate to certain size
If Collision/overlap
-destroy
Think shooter with missiles that are interpolating....
I can't do a second actor because there will be multiple instances of the first actor and there's no way to link them to each other via a game attribute without applying to every single one.
Missiles have to be movable... so can't change that.
Help?