Posted by Magi on February 09, 1998 at 13:49:48:
In Reply to: How do I figure out what the vector is for thrust posted by Vodo Sisk Baas on February 08, 1998 at 10:28:23:
>
> How do you figure out what the vector is supposed to be for sector thrust? Say i have a point eg. -5/5/5 that i want the sector thrust to push towards, is that my vector?
I'm to lazy to figure it out by hand, so I just figure out what surface I want to push someone away from.
The normal is the vector that is perpendicular to the surface:
direction=GetSurfaceNormal(fromside);
setsectorthrust(area0,direction,speed);
This is the opposite of what you are asking, but see if it will work.