Hi
I�m having this problem: When my player runs, it�s catching the bullet he just fired, and being hit by it.
Is there a way to know which object spawned another object, so I can set my bullet to ignore the collision with the object who spawned it?
Thanks.
Develop games in your browser. Powerful, performant & highly capable.
Give bullets instance variable 'Owner'
Then, modify your events along these lines:
Player spawn bullet
.. bullet.owner = player.uid
bullet on collision with target
bullet.owner not equal to target.uid
.. do collision stuff
Thanks. That did the trick.