I’m trying to get a collision callback to fire when two dynamic objects collider but so far I can’t seem to manage it. Simplified scene here. What am I missing?
this.missileAngle
is initially undefined. If you add something like
this.missileAngle = 0;
in create() it fixes it.
Thanks a lot @samme. That was driving me bananas!