T
Thiago_Mn
Guest
Hello!
I'm making a tank game, but i just noticed that something was not right, i have 1 object that is the "Tank Body" and another object that is the "Tank Turret/Gun" and how I'm trying to make a 2D game where the camera is on top, i had the idea of putting an angle where the tank is aiming to the mouse but the gun was not positioning right because of the Origin of the "Tank Body" sprite and the "Tank Turret/Gun", the Turret/Gun was out of position in the body, because of the angle where the tank was directing to, and i don't know how to solve this. Is there a way to the Turret/Gun stay in the same position when the "Tank Body" has change of angle?
Any help, i would be thankful!
Edit:Sorry for my bad english.
Here's a screenshot:
I'm making a tank game, but i just noticed that something was not right, i have 1 object that is the "Tank Body" and another object that is the "Tank Turret/Gun" and how I'm trying to make a 2D game where the camera is on top, i had the idea of putting an angle where the tank is aiming to the mouse but the gun was not positioning right because of the Origin of the "Tank Body" sprite and the "Tank Turret/Gun", the Turret/Gun was out of position in the body, because of the angle where the tank was directing to, and i don't know how to solve this. Is there a way to the Turret/Gun stay in the same position when the "Tank Body" has change of angle?
Any help, i would be thankful!
Edit:Sorry for my bad english.
Here's a screenshot:
Last edited by a moderator: