godot-rapier-2d
godot-rapier-2d copied to clipboard
CharacterBody3D doesn't work with HeightMapShape3D
I've been using Terrain3D in my project along with Jolt and wanted to try out Rapier instead. I have a procedurally generated terrain and I make sure to set the below: terrain.set_show_debug_collision(true) terrain.set_collision_enabled(true)
For some reason my character collides with the terrain when using Jolt but just drops right through the terrain when using Rapier.
Steps to reproduce the behavior:
Create a terrain with Terrain3D and set up Rapier as the physics engine. Make sure to set collision layers and observe your character not colliding
Expected behavior
Character should collide with 3D terrain
Environment:
- OS: Windows
- Version latest from asset store (same for Terrain3D
-
- Godot Version 4.3