[One-way Tile Contact BUG] [One-way contact currently has a BUG]

AGM ver1.2.2

Japanese

There is currently a BUG regarding the Tiles setting Physics → One-way collision, regardless of how the one-way direction is set. It is impossible to collide left or right in one direction, but the player can still pass through the Tiles left and right. No matter how it is set, the final result will always be one-way upward.

My Player has a top Tiles contact trigger animation set, and when using one-way Tiles, the Player will always trigger this animation. It is unclear whether this can be considered a BUG.

Please fix this as soon as possible, thank you.

ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー

Chinese

Regarding the Tiles setting Physics → One-way collision, there is currently a BUG. Regardless of how the one-way direction is set, it is impossible to collide left or right in one direction, but the player can still pass through the Tiles left and right. No matter how it is set, the final result will always be one-way upward.

My Player has a top Tiles contact trigger animation set, and when using one-way Tiles, the Player will always trigger this animation. It is unclear whether this can be considered a BUG.

Please fix this as soon as possible, thank you.

I was able to replicate, I cannot figure out why this would be happening so I passed this along to the developers. Thanks for the report!

2 Likes

Just here to say I am working 1.2.4 and the issue is still present.

I can confirm it has been fixed internally. My guess is it will make next patch!

2 Likes

We have released the corrected version in version 1.2.5.

3 Likes

Not fixed in 1.2.5 or 1.2.6. Turning on any directional collision breaks collision entirely.

EDIT: while passing through these tiles it does cancel the falling state but no actual collision occurs.

I have created a whole new project and the collision works as it should there. However in the project I have been working on for months it doesn’t work at all. I have no idea why. Every setting is the same but collision works in one but not in the other. It is very frustrating.

This is a very strange story; could you please send us the project where the issue is occurring?

1 Like

I have sent the project. Thank you for your time.

Thank you for the project.
I tested the project you provided, and it seems that changing the movement to up or down does not work, while left and right movements function correctly.

After trying various things, I concluded that the issue was caused by the Player node’s safe margin being set too large at 1px.


Restoring it to the default value of 0.08px resolved the issue, and everything now works as expected.

My guess is that horizontal movement is slow enough that the problem doesn’t occur, but during downward movement, the speed is high enough that within a single frame (1 FPS), the 1px safe margin causes the player to penetrate the floor.
In One-Way platforms, objects that penetrate are designed to pass through to prevent getting stuck, which explains the behavior.

1 Like

Thank you so very much. I do not know how that value got changed.

1 Like