Hey everyone,
I have a seemingly complicated collider problem. Hope the figures below describe it well enough:
BLACK = Player, using Rigidbody2D and some kind of movement controller.
RED = Different colliders, like platforms.
YELLOW = Area in which the background collider should not apply, effectively somehow masking it.
Hitting PLAY: The player is falling down due to the laws of physics. The problem: He will bounce into the invisible background platform.
GREEN = Position where I’d like to have my block collide.
So, I thought about a few approaches, but none seems to be the right way to do it:
- Physics2D layers
- RenderTexture for colorcheck
- activating background collider on leaving the yellow box
It must be scalable to like multiple (yellow) cells of different shapes and still work…
Every idea is welcome! This must be solvable somehow?
RyFridge



