Designing a platform game that allows players to spawn various, items, projectiles, etc.
Ofcourse I would like it if when you collide with your own objects you aren't harmed.
For hitboxes I was able to have the player object and the "hitbox" object have mutual variables that only take action if said variables are not even. It was manageable when the objects spawned at the same time...
When Spawning new objects however I don't know how to assign a value that corresponds with the object that spawned it.
Please send help.