Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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?
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
Develop games in your browser. Powerful, performant & highly capable.
Thanks. That did the trick.