Convert pitch/yaw/roll to Vector

Blitz3D Forums/Blitz3D Programming/Convert pitch/yaw/roll to Vector

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

As Charrua says, TFormVector, Point and Normal are just Blitz3D names for multiplying a vector by a series of matrices. In this case, since scale and position are not an issue, you can just use one matrix.

Make a rotation matrix from your Euler Angles And Multiply your starting vector by that rotation matrix to get your end vector.