V
vercingetorix
Guest
Hey guys,
I just started with GameMaker and encountered an issue I don't know how to solve.
I hope I worded my question well. I have multiple tanks, which consist of multiple objects (turret + hull) and share their ammo between tanks. Currently the tanks are able to hit themselves when the shell spawns in the turret and hits it's own hull.
The tank.
The turret setting it's position to it's hull. I'll have to solve this at some point with Instance ID's, since multiple copies of multiple tanks can be on the battlefield, but not that important for now.
Turret rotation and spawning the shell.
Shell checking for collision with a unit and assigning damage.
What would be a good way to solve this?
I just started with GameMaker and encountered an issue I don't know how to solve.
I hope I worded my question well. I have multiple tanks, which consist of multiple objects (turret + hull) and share their ammo between tanks. Currently the tanks are able to hit themselves when the shell spawns in the turret and hits it's own hull.
The tank.
The turret setting it's position to it's hull. I'll have to solve this at some point with Instance ID's, since multiple copies of multiple tanks can be on the battlefield, but not that important for now.
Turret rotation and spawning the shell.
Shell checking for collision with a unit and assigning damage.
What would be a good way to solve this?