Search Unity

Is it possible to do one-way control for different layers using Platform Effector 2D

Discussion in '2D' started by clarHandsome, Feb 12, 2019.

  1. clarHandsome

    clarHandsome

    Joined:
    Mar 26, 2017
    Posts:
    9
    I have a "Player" layer and a "Companion" layer. I want the player able to jump up the platform, but the companion can't. But, the companion still collides with the platform.
    The colliderMask simply disables the collider. This isn't what I want.

    Is there anyway to do it?

    There's no way I can find the open source of the Platform Effector 2D and add the layermask control myself.