I am wanting to rotate my camera around horozontally while looking at my space ship.
This is my current code camera code:
Scene.SetCamera(PlayerPosX + 200, PlayerPosY + 200, PlayerPosZ + 200, PlayerPosX, PlayerPosY, PlayerPosZ)
I would like to keep this code if possible, just adding some additions to move the camera around the ship (Located at PlayerPosX, PlayerPosY and PlayerPosZ)
I have been playing around with this code with no luck:
InputEngine.GetMouseState(MouseX, MouseY, ButtonLeft, ButtonRight)
If ButtonRight Then
AngleHorizontal = AngleHorizontal + MouseX / 3
AngleVertical = AngleVertical + MouseY / 3
End If
Please help