Problem with synthetic gravity
Probably not a well-worded title, but I couldn't think of any other way to put it.
I use alterable values on objects to simulate a 'gravity' so I can make them fly back or fly... up.
Say my character is caught in an explosion that causes him to fly up. When he gets back on the ground, he acts as though he is walking. When I use the arrow keys to move him around, the movement is slowed down. The effect does not go away until I make the character jump with the shift key.
To clarify, this is a platform game. I am a little stumped and can't figure out how to remedy this. I have never had this problem in the past and I've certainly done this type of thing before.
Re: Problem with synthetic gravity
Sounds like you are not setting an AV to zero when you land from the explosion.
Marv
Re: Problem with synthetic gravity
I just rechecked. The Alterable Value is at zero, but it still occasionally happens.
Re: Problem with synthetic gravity
I looked at the debugger. It says he has a speed of 100, but he isn't moving. Just playing the walking animation. Any attempted movement is slow- unless it is a jump.
Re: Problem with synthetic gravity
Something isn't resetting after something happens. Any way you can download your mfa file in the File Archives, so that we take take a peek at the coding?
Marv
Re: Problem with synthetic gravity
I could try, but it might come out a little big. I will see what I can do.