Getting Cam local z rotation around look-at/axis?

Hey All…

I was lucky enough to have been given an animated camera that has a ‘look-at’ point and an ‘up’. I am going to fake some particles that hover and move past the front of the camera, but I don’t want to try and emit and parent them to this moving camera. I am hoping, instead, that I can calculate the camera’s rotation around the axis that would be defined by the look-at point and the camera axis, and then pipe that over to a static camera’s rotateZ, resulting in a camera that I can use to render my particles (they just emit and move past this static camera)

Is this possible? If I just knew some more vector math and such, I think I could figure it out, but perhaps someone here can help me along the path?

Thanks!
Ryan

No Responses to “Getting Cam local z rotation around look-at/axis?”

Post a Comment