Make a plain Sprite with Solid, size it tall vertically.
Then make a second plain sprite (any size) with just CustomMov/Platform/8Direction behaviour.
Finally, move the first sprite with any method/way towards the 2nd sprite either left/right. (You can even get the solid sprite with any movement behaviour). Colliding it would push the second sprite with it, BUT notice it is not pushed in the same direction but rather upwards or downwards. Pushing it left would caused the pushed sprite to be going downwards and vise versa.
*If you want to reproduce this with platform behaviour, have the gravity = 0.
This bug was discovered when I was having my player jumping up with platform.vector y on a moving solid wall to the right will cause it to jump up super high and I wondered why it doesn't do that on the other direction to the left?
Attach a Capx
Description of Capx
A Capx with just 2 object sprites with behaviors as stated above.
Steps to Reproduce Bug
- Move the green tall sprite with arrow keys LEFT and RIGHT.
- This will push the yellow sprite and reproduce the bug.
Pushed sprite doesn't get pushed in the same direction, but rather weird anti-clockwise results.
It should be pushed in the same direction! if it was pushed from the left, it goes left. And if it was pushed from the right, it goes right with it.
Operating System and Service Pack
Windows 10 Home Single Language
Construct 2 Version ID