Rotate entity pitch towards camera, despite yaw
Blitz3D Forums/Blitz3D Programming/Rotate entity pitch towards camera, despite yaw
| ||
One of my weird challenges again: If you can imagine a rectangle box being rotated around yaw, how can you get it to pitch towards you despite it's yaw? usually, if you rotate pitch after yaw it'll be aligned by the yaw - a local rotation... |
| ||
How about using the DeltaPitch command? |
| ||
Coo... wonder what that is? |
| ||
http://www.blitzbasic.com/b3ddocs/command.php?name=DeltaPitch&ref=3d_a-z it apparently return the angle needed to rotate or something :) |
| ||
Could you not use alignToVector to align Y axis to the vector. |