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

One-way collision working in opposite way #343

Open
BorysBe opened this issue Feb 16, 2025 · 0 comments
Open

One-way collision working in opposite way #343

BorysBe opened this issue Feb 16, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@BorysBe
Copy link

BorysBe commented Feb 16, 2025

In Godot one-way collision works in opposite way. When on standard Godot physics I jump into platform, on Godot Rapier physics collision is when I hit platform with head.

Steps to reproduce the behavior:
Create a platform in a Godot project.
Use CollisionShape2D for it.
Set the platform to one-way collision (OneWayCollision checkbox).
Use platform on tilemap.

Image

Implement a character that can jump.
Jump under platform.
Jump on the platform.

Expected behavior:
The character should pass through the platform when jumping up from below, without colliding with it. The collision should only occur when the character lands on the platform from above.

@BorysBe BorysBe added the bug Something isn't working label Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant