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.
flightTime probably wrong default value
Moderator: Moderators
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: flightTime probably wrong default value
I would guess 0.0 means 0.0, but I didn't check.
Re: flightTime probably wrong default value
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.
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.
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: flightTime probably wrong default value
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.If this were the case then the missile would drop right after launching.
Re: flightTime probably wrong default value
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.
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
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).
(I'm sorry, you all seem to be talking circles around each other and it frustrated me).