Camera problem
in
Programming Questions
•
2 years ago
Hello there,
Is there a possibility to rotate a camera (not the grid below), around a moving point, without using a lot of if's? ;)
Because at the moment, if you go NORTH and turn right, the camera goes x- and y-, but if you go WEST and turn right, the camera goes x- and y+ ...
Any ideas? And thanks for your help!
Here's a little scribble:
Is there a possibility to rotate a camera (not the grid below), around a moving point, without using a lot of if's? ;)
Because at the moment, if you go NORTH and turn right, the camera goes x- and y-, but if you go WEST and turn right, the camera goes x- and y+ ...
Any ideas? And thanks for your help!
Here's a little scribble:
1
