Stuck inside of Composite Collider when using Platform Effector 2D
I have a tile map for a 2D game I am making.
The tilemap has a tilemap collider, Composite Collider, and Platform Effector 2D.
When I try to jump through the platform, sometimes I don't always make it. When this happens, I end up falling through and colliding with the bottom portion of the Composite Collider.
Is there any way to fix this?
![alt text](https://koobas.hobune.stream/wayback/20220612151159im_/https://answers.unity.com/storage/temp/109902-capture.png)
Answer by Flameo326 · Jan 24, 2018 at 05:37 PM
To fix this, you can just Select Use One Way Group
this only works for me if i also disable the composite collider, but then i get occasional glitchy colliding with the floor tiles
Answer by PhilippeMelo · Nov 25, 2019 at 03:02 AM
Just set your TilemapCollider2d => Used by composite
set your CompositeCollider2d => Used by Effector
and finally your PlatformEffector2d => Use one way
see the following screenshot:
Your answer
![](https://koobas.hobune.stream/wayback/20220612151159im_/https://answers.unity.com/themes/thub/images/avi.jpg)