Page 1 of 1

flightTime probably wrong default value

Posted: 08 Apr 2014, 17:08
by code_man
I fixed a missle problem of mine and it came down to flightTime being too low.
On the wiki it says the def val is 0.0, i assume that means infinte(has to i guess). But with it it crashes about after 5 seconds, i set it to 15 and now it works fine.

Could someone confirm this?
Didnt know where else to report this.

Re: flightTime probably wrong default value

Posted: 08 Apr 2014, 22:53
by Silentwings
I would guess 0.0 means 0.0, but I didn't check.

Re: flightTime probably wrong default value

Posted: 09 Apr 2014, 09:58
by code_man
If this were the case then the missile would drop right after launching.

After sleeping this over i think it must be a glitch, any defaul value other than 0 makes little sense and knowing most the defualt values of other parameters are 0.

Re: flightTime probably wrong default value

Posted: 09 Apr 2014, 10:18
by Silentwings
If this were the case then the missile would drop right after launching.
That is a legimate thing to want - if you gave it some initial velocity then it would fly some distance. Iirc, in non-spring-jargon terms flighttime is the length of time the missiles engine runs for.

Re: flightTime probably wrong default value

Posted: 09 Apr 2014, 10:33
by code_man
I see your point, tough i cant come up with why anyone would ever need this, but who knows.
But its quite certanly not the case i observed, so the default value is not 0 in any case.

Re: flightTime probably wrong default value

Posted: 09 Apr 2014, 18:09
by FLOZi

Re: flightTime probably wrong default value

Posted: 09 Apr 2014, 18:13
by SinbadEV
I thought he was saying that the default was bad (as in it is zero but it shouldn't be)... and if it IS supposed to be zero what other thing is he doing wrong that is causing a value of zero to cause his code to fail?

(I'm sorry, you all seem to be talking circles around each other and it frustrated me).