Align to vector

Blitz3D Forums/Blitz3D Beginners Area/Align to vector

Do you really need to align the camera to all 3 axis'? If you're trying to simlate pointentity but without potential gimbal lock then aligntovector on the z-axis will acheive this using quarternions.

I'm not sure what your looking to acheive but the dodgy camera is probably as a result of aligning slowly to all 3 axis'. You could probably just get away with 2 .... the yaw/y and pitch/x axis or ...1 as above.

Hope this helps.
Stevie