Disabling the Platform Behavior while the object is moving and then re-enabling it will make the object continue to move for a brief moment even though no movement keys are being pressed.
Attach a Capx
Description of Capx
A sprite object with platform behavior and 2 events to enable/disable it
Steps to Reproduce Bug
Operating System and Service Pack
Windows 10 Version 1511
Construct 2 Version ID
Setting the x vector of the platform behaviour to 0 after re-enabling it will give you your expected result.
Develop games in your browser. Powerful, performant & highly capable.
Hey thanks a lot this does the job
Closing as not a bug: it's still got the same velocity and goes through the same deceleration as if you left it enabled, but just delayed since you disabled processing of the behavior.
If you want to disable the behavior *and* remove its current velocity, set the X/Y vectors, as suggested.