A
atxgamedesigner
Guest
Hello,
I'm trying to to create a grenade-like object.
A bomb that will damage all enemies within a specific radius of it.
I thought this would be as simple as having a large collision mask for the object, however its only destroying the first object it collides with at time of detonation - not all objects within the collision mask.
Some pseudo code would be helpful.
I'm trying to to create a grenade-like object.
A bomb that will damage all enemies within a specific radius of it.
I thought this would be as simple as having a large collision mask for the object, however its only destroying the first object it collides with at time of detonation - not all objects within the collision mask.
Some pseudo code would be helpful.