Re: conveyors and flowing water


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

Posted by CogKing on January 02, 1998 at 22:48:04:

In Reply to: Re: conveyors and flowing water posted by rembrantph on January 02, 1998 at 17:47:26:

> if found that the sectorthrust cog requires 2 arguments the sector and the vec0. the vec0 is the x/y/z direction you move while in the selected sector, if im wrong could someone please tell me.

You are wrong... :-)

Seriously : SetSectorThrust() takes 3 parameters :
1) the sector
2) a vector indicating the direction
3) a flex indicating the speed

See M5_ANTIGRAV.COG for instance.

And you should use SetSectorThrust(), not SectorThrust(), which seem to
belong to an older naming convention...

-CogKing




Follow Ups:



Post a Followup

Name:
E-Mail:
Subject:
Comments:

Optional Link URL:
Link Title:
Optional Image URL:


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