Triangle Pitch, Yaw and Roll

Blitz3D Forums/Blitz3D Programming/Triangle Pitch, Yaw and Roll

cermit(Posted 2004) [#1]
I need help placing a bullet hole sprite onto a mesh. Using CameraPick for getting the co-ords to place the sprite on.
But i cant figure out how to get the Pitch, Yaw and Roll from the triangle that is returned from CameraPick (PickedTriangle), wich i need for rotating the sprite properly.


fredborg(Posted 2004) [#2]
Look up AlignToVector


cermit(Posted 2004) [#3]
Ok, thanks!