Open AlaricBaraou opened 2 months ago
Latest commit: eb40c31e7bdcf1bb90ad9f71a7bdffeb5f59ce4b
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
A cube to illustrate more the stairs issue.
https://github.com/user-attachments/assets/cf3a6e15-109d-4f60-9a7a-37bb99bf211f
TODO
This PR is meant to allow everyone to help in using the kinematic character controller of rapier https://rapier.rs/docs/user_guides/javascript/character_controller/
Depends on https://github.com/pmndrs/react-three-rapier/pull/701
https://github.com/user-attachments/assets/cb147eee-d102-40bd-b22e-a46c12c36d50
This won't be fully working until Rapier fix this https://github.com/dimforge/rapier.js/issues/291 and publish the fix to rapier.js The current PR that fix the slope issue doesn't mention fixing the stairs issue.
For now using a capsule with the proper radius / velocity allow climbing some stairs, but this is not really controlled.
I'll probably stop the development on this until further progress is made on the rapier side.