unity2d create a one side collider

Viewed 2082

I have a maplestory game demo

I need character can jump through a collider from one side

the collider in my character and ground are like this:

character:capsulecollider2d

ground:polygoncollider2d

enter image description here

so the character can stand on the ground

enter image description hereenter image description here

also can jump on the ground

but now I want character jump from bottom of the ground,it cannot work

enter image description here

so, How can I deal this problem? Is there a configuration that can make collider only have one side?

-------------------------------------2017 08 11-------------------------------------

thanks a lot every one

thank you @EmreE @Jeroen De Clercq

I resolved this problem by using Platform Effector 2D provided by @EmreE

enter image description here

first: add platform effector 2d on my ground and select "use one way"

second:select "Used by Effector"

enter image description here

now it works :)

enter image description here

1 Answers
Related