[ SOLVED by fredetmumu ]
Hello Clickers and happy new year
I'm making a remake of space taxi. For the cab movement I'm using the PMO object.
I've seen that when the "taxi" active falls down vertically without having any x speed, by pressing the up arrow to brake the fall, the active stops suddently, instead of gently brake.
I've found - however - that when the falling active has a speed on the x axys, then it brakes gently as expected by pressing the up arrow key.
This workaround is in code, and it's deactivated to show the "bug or feature".
Question. Why the PMO object behaves differently when "falling down and braking" vs "falling down, having a x speed and braking" ?
I've attached an example.
Instructions:
To show the issue :let the active fall down. Now press the up arrow key. The active brakes suddently.
To see the workaround in action: let the active fall down. Now press the left or right arrow key to give a small x speed. Now press the up arrow key. The active brakes gently.
To always have the workaround: activate the deactivated event.
To repeat the "experiment": land on a platform ( so that the active has no more x speed), or re-run the frame.
Thanks for your attention,
Sergio