I am trying to set a collision detection on one parallax layer, i hope some nice people could help me.
My setup is the following:
I have a scene. The scene instances a ParallaxBackground and the player (RigidBody2D).
The ParallaxBackground has 3 ParallaxLayers (sky, background, floor).
I have drawn a CollisionPolygon2D (on the layer i would like my player to walk on):
When i run the game the player won't collide with the layer (floor) :-(
How i can do this please or is this possible?
I am not using tiles because the floor is not flat and it is hard to set up tiles so they are not flat.
Thank you in advance.