Why is my actor not falling?
Well, I have an actor that jumps with an interpolate attribute and moves with the arrow keys. However, it seems to not be able to do both at the same time.
What I mean is that I can move fine on the ground and fall in the air. But if I start moving in air my actor doesn't fall.
Help is appreciated. Thanks.
What I mean is that I can move fine on the ground and fall in the air. But if I start moving in air my actor doesn't fall.
Help is appreciated. Thanks.
Best Answers
-
JohnPapiomitis Posts: 6,256
Dont use interpolate for your jump, and dont use the move behavior to move.
Change its motion linear y to jump, and to move change its motion linear x to whatever when the key is pressed, otherwise change motion linear x to 0
Answers