Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → vectors?
vectors?
2002-02-17, 7:26 AM #1
how are you meant to work out which way you want a sector thrust to go??
2002-02-17, 8:41 AM #2
Pick two points in your sector that are on an imaginary line pointing in the direction you want the thrust to go. Now add this line in a cog:

SetSectorThrust(sector, VectorNorm(VectorSub(pointb, pointa)), speed);

when 'sector' is the sector number, 'pointa' and 'pointb' are the two points, and 'speed' is... well, the speed. [http://forums.massassi.net/html/smile.gif]
Dreams of a dreamer from afar to a fardreamer.
2002-02-17, 8:52 AM #3
how do i do it in JKedit? (jkedit has an auto cog thingy)
2002-02-17, 9:27 AM #4
I have no idea, I don't user JKEdit.

Adn the main editing forum might be a better place for your question.
Dreams of a dreamer from afar to a fardreamer.

↑ Up to the top!