TForm

Blitz3D Forums/Blitz3D Programming/TForm

Jerome Squalor(Posted 2007) [#1]
Hey every one can someone give me an explanation of how and for what to use the TForm commands?

Thanks in advance!


jfk EO-11110(Posted 2007) [#2]
I'd suggest to use the online manual and search for "tform", this will list all relevant commands with examples.

There are som commands for images. Some other commands are used with point coords, normals or vectors.

Sample:

use Tformpoint with VertexXYZ and zero as the destination entity to obtain the world location of a certain vertex.


Gabriel(Posted 2007) [#3]
They're used to transform from one space to another, be that world space to entity space or entity space to world space.

Space, in this context meaning "relative to". So if you want to know where a vertex is "relative to" the world and all you know currently is where it is "relative to" the entity it belongs to, that's why you would want one of these commands.