Getting Pitch/Yaw/Roll of a collided triangle

Blitz3D Forums/Blitz3D Programming/Getting Pitch/Yaw/Roll of a collided triangle

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.

A triangle doesn't have pitch, yaw and roll. If it did, what would it be your point of reference? It presumably wouldn't be the entity they belong to because all the triangles can point in different directions. So I guess it could be relative to a fixed axis, but it could still be +x, -x, +y, -y, +z or -z.

If you want to know which direction the triangle is facing, collisions give the normal, I think, or you could retrieve the triangle normal manually. If that's not what you want, then I'm not quite clear on what you're after.