@MuntyScruntFundle wrote:
Hi folks.
While working on the camera in the latest thing sand box whatever it is, I cam across this which was really helpful and got my camera working on it's axis.
So with that working I now need the side to side or strafe, and the forward and back. As well as the up and down.
What I can't work out is how to move the camera according to it's own world axis, or LookForward. Or At. Whichever it actually is. Can you tell I'm a bit confused?!
I can move the position according to the world x,y,z fine, but then when the camera is rotated 25' to the left it's no longer aligned to the world x,y. Of course.
I'm guessing I'll need matrices but I have no idea which, or how to move an object according to a matrix.
Could someone please point me in the right direction?
Many thanks.
Posts: 2
Participants: 2