Hello, I have been playing around with the Y rotation of the cannon it self for about 1-2 hours and it keeps rotating in 180 degrees. Does anyone maby know why it is doing this ?
As you can see in the video the cannon of the tank should rotate up and down so you can shoot up and down. The rotation left and right is working cause of the turret, but what is happening is that the cannon is rotating 180 degrees and it’s locked in it’s position as you can see in video 2. Hope that made sense ?
Ok, so it looks like you are creating a CFrame located at the Cannon’s position, and you mare making that CFrame face towards the position called Rotation. The position called Rotation will always be directly above your cannon. Then, you rotate that 90 degrees, so the cannon will always be pointing straight ahead or behind (whichever is +90 degrees). Try to find another way to make the CFrame.