A vanishing player..
Posted: Tue Apr 03, 2012 6:48 am
I've come across what I THINK to be a memory leak.. I have a simple code:
But for some incredibly random reason, the yvelocity SHOOTS into the negative numbers, I mean it SHOOTS... I debuged it, and it reached -10,000 within a couple of seconds.
Why? Whats going on? anybody know? if I get rid of that code, all is well...
Nothing I have tried yet, will work. What caused this? I'd love to know, I'm trying to keep my cool about this, because theres no point in getting angry, but thats mighty hard when you come across something like this.
More info:
The actor that has this, has absolutely NO physical responses, none whatsoever. Absolutely not 1 single physical response is in this game yet, but he still goes blitzing into the air at insane speeds, like a nasa space rocket.
- Code: Select all
if(yvelocity<10)
{
yvelocity+=.2;
}
But for some incredibly random reason, the yvelocity SHOOTS into the negative numbers, I mean it SHOOTS... I debuged it, and it reached -10,000 within a couple of seconds.
Why? Whats going on? anybody know? if I get rid of that code, all is well...
Nothing I have tried yet, will work. What caused this? I'd love to know, I'm trying to keep my cool about this, because theres no point in getting angry, but thats mighty hard when you come across something like this.
More info:
The actor that has this, has absolutely NO physical responses, none whatsoever. Absolutely not 1 single physical response is in this game yet, but he still goes blitzing into the air at insane speeds, like a nasa space rocket.