Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling "One Way Collision" for KinematicBody2Ds doesn't seem to affect "move_and_slide" #16900

Closed
YeldhamDev opened this issue Feb 21, 2018 · 6 comments

Comments

@YeldhamDev
Copy link
Member

Godot version:
7cd867c

Issue description:
I did a test by enabling One Way Collision to a collision owned by a KinematicBody2D, and expected the the move_and_slide function to completely ignore floors, but it acted as usual.

I don't know if this affects their 3D versions as well.

@eon-s
Copy link
Contributor

eon-s commented Feb 22, 2018

Not sure if I understand, the Kinematic Character demo uses one way collisions and work, or are you using one way shapes in the body that is moved by move_and_slide?

Can you add an example project to see where it fails?

@YeldhamDev
Copy link
Member Author

@eon-s I'm not talking about enabling it on the platforms, I'm talking about enabling it in the character itself.

@eon-s
Copy link
Contributor

eon-s commented Feb 22, 2018

Not sure if one side is for that, is more for bodies that move against the one side shape rather than the one side shape moving against other bodies (I can see the uses it could have, though).

@YeldhamDev
Copy link
Member Author

So this is more of a feature request rather than a bug, then?

@eon-s
Copy link
Contributor

eon-s commented Feb 22, 2018

We should see what @reduz say about this, the new one side system is his child :P

@Calinou
Copy link
Member

Calinou commented Jun 7, 2020

Closing in favor of #25313, which has a bit more information about the issue at hand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants