Hi guys,
Recently I started to create a platform game in 2D and I used Polygon Collider 2D for collisions, and the player’s behavior was excellent, but with an issue: it gets stuck on walls.
Then my solution was to add a Platform Effector 2D and then everything was excellent.
But then I started to modify a lot of stuff and then suddenly, my player doesn’t want to collide with the ground, it just falls down all the way. I don’t know why!
If I un-tick the Platform Effector 2D, it works perfectly (well, kinda… I still have the get-stuck on walls issue), but for some reason, Platform Effect 2D is causing my player to ignore the ground.
Is there a property that I’m missing here? Maybe I moved something that I shouldn’t?
Thanks!
PS.: My Platform Effector 2D properties are:
Instance ID: I guess it doesn’t matter
Local Identifier In File: I guess it doesn’t matter
Use Collider Mask: True
Collider Mask: Everything
Rotational Offset= 0
Use one way: false <— I tried all the possible combinations with these.
Use one way grouping: false <— I tried all the possible combinations with these.
Surface Arc: 180
Use Side Friction: False
Use Side Bouce: False
Side Arc: 1