Avoid platform anchoring

Hey,

I’m making a platform game with a similar gameplay to Geometry Dash. To simulate the player’s movement, I decided to move the stage instead of the player, keeping the player static. However, when moving the platforms where the player should land, the player gets anchored to them and moves along with them. This is something I want to avoid since the player should always stay in the same position relative to the camera.

I tried implementing a barrier device to prevent the player from moving along with the platforms. While this solution works, it creates strange collisions that affect the gameplay and make it appear less smooth.