Re: Still not working :(


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]

Posted by Magi on February 09, 1998 at 13:38:06:

In Reply to: Still not working :( posted by Pele on February 08, 1998 at 09:25:06:

Are you getting any thrust in any direction at all?

I think the vector coordiantes are the amount of movement you want in each direction (x,y,z)

So, 0 0 1 moves in direcition z at a speed of 1 (times your speed) and 1 1 0 moves you in a direction of x and y (diagnally).
A speed of 1 3 would move you a little towards x and 3 times as much towards y (again, each number * speed).

I made a cog that thrusted you away from a surface by using the normal of the surface as the thurst vector.

surface fromside

.
.
.

direction=GetSurfaceNormal(fromside);
SetSectorThrust(area0[y],direction,speed);



Follow Ups:



Post a Followup

Name:
E-Mail:
Subject:
Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]