3d math question

Blitz3D Forums/Blitz3D Programming/3d math question

Hi Craig, I've written my own code for handling quads, based on an idea that Dark Half had a while ago. I use it in my gauntlet remake and is in the file QuadFunctions.bb which is included in the small zip below:

http://home.swiftdsl.com.au/~gezeder/lloyd/Code.zip

Basically when you create your quads, parent the mesh they are a part of to the camera. You will also need to use the tform commands to assign the position of each vertex in your quad such that they are aligned 'facing' relative to the camera.

Anyway have a look in the quadfunctions.bb file, it should not be too hard to follow.