Strange thing with collisions on the joints of platforms in 2D-platformer level.
There is a flat floor consists of little square platforms. And a cube standing on it. When I move the cube horizontally with RigidBody.AddForce it often collides with the edges of the little platforms. But they are exactly on the same height.
Where is problem?
A little (1 Mb) project demonstrating this is in attach.
I’m checking it out right now… but i immediately noticed an issue. If you notice, once you “play” the position of the cube drops a bit, which it shouldn’t
i’ll post more in a bit after i check more.
::edit::
i’m guessing it’s a bug with the physics aspect of the engine. if you disable the gravity on the moving cube it moves fine. at least until it colides with one of the block on the end and the Y position messes up a bit and it can get caught on things.
I’ve tried to do that in another project and collisions OK. But jitters appeared. I checked different values for the “Min Penetration for Penalty”. But when there is no bad collisions it is still possible to find point where jitters appears.
In attach it is example to show jitters especially on start playing. It is possible to find good value for “Min Penetration for Penalty” there, but on big level I can’t find such value.