Tform point question

Blitz3D Forums/Blitz3D Programming/Tform point question

Picklesworth(Posted 2004) [#1]
I have finally finished puzzling over using local coordinates to apply an off-center force to a tokamak rigid body, and I have finally figured it out. I just have one question. In the documentation for tformpoint, it says:

Consider a sphere built with CreateSphere(). The 'north pole' is at (0,1,0).
At first, local and global coordinates are the same. As the sphere is moved,
turned and scaled the global coordinates of the point change.


So, would this mean that no matter what, the farthest place from the center on whatever axis is 1 in local coordinates? Meaning that, using tform point, I could find the far left and far right of an object using "tFormPoint 1,0,0,object,0". I need to know this because I'm obsessed with having everything perfect, even if it isn't even noticed.


Stevie G(Posted 2004) [#2]
No. This is assuming the sphere has a radius of 1 unit. If your sphere was scaled x 5 then tformpoint 5,0,0,object,0 would be required to get the global coord of the far right of the sphere.

Hope this helps.


Picklesworth(Posted 2004) [#3]
okay, I guess I'll still need to make my ruler application. Thanks for the help!