[Bug]: Incorrect normals when ray-casting using cast_shape
#372
Labels
A-Integration
very bevy specific
D-Easy
P-Low
question
Further information is requested
S-not-started
Work has not started
I am trying to write a character controller using rapier. To control when I can jump, I want to use
cast_shape
to check whether I am currently grounded. This leads to a problem: the resulting normal is alwaysVec2(-0.0, 1.0)
wven if I hit walls.The relevant code of the system:
Full code (main.rs)
Here is my example code (important parts at lines 101 - 114 in the
jump_controller
function):My Cargo config
Cargo.toml
rust-toolchain.toml
The text was updated successfully, but these errors were encountered: