Re: Speed In Cogs


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

Posted by Stealth on February 16, 1998 at 08:41:54:

In Reply to: Re: Speed In Cogs posted by Osan`gar on February 15, 1998 at 17:30:49:

> > I guess my question is this.... are these valid lines in a cog?

> > float speed=1.0 desc=thrust_speed
> > float speed1=1.0 desc=thrust_speed

They are both valid symbol assignments. Though you should use "flex" rather than "float" You don`t have to be as concerned with what type of number it has then.
The "desc=" is just a description not required. But it doesn`t hurt either.

The reason why you see some things called vector0,vector1.. vector9 is so they can be used as an array .
you could call them any name you want otherwise.

like

flex slow_thrustspeed=1 # thrusts for what ever
flex fast_thrustspeed=2.3




Follow Ups:



Post a Followup

Name:
E-Mail:
Subject:
Comments:

Optional Link URL:
Link Title:
Optional Image URL:


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