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

character controller example: added 2 slopes to test max/min slopes #532

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Vrixyz
Copy link
Contributor

@Vrixyz Vrixyz commented Jun 18, 2024

From a report on discord, the max_slope_climb_angle are not respected in the character controller example.

This pull requests only adds 2 slopes to test this behaviour more easily

Analysis

  • Character controller example from rapier doesn't have this bug.

the added example should have the same parameters as rapier:

Test instructions

run cargo run --example character_controller3 : 2 slopes are present, 1 we should be able to climb, one we shouldn't be able to.

@Vrixyz
Copy link
Contributor Author

Vrixyz commented Jun 21, 2024

Related: dimforge/rapier.js#274

@Vrixyz Vrixyz force-pushed the character_controller-max_slope_not_respected branch from 7112771 to aff3484 Compare July 23, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant