Closed YYMMYB closed 2 years ago
In file bevy_rapier3d/examples/ray_casting3.rs : I copy fn ray_from_mouse_position to my project, but it doesn't work. I fixed it by changing near.z from 0 to -1. Maybe the example file also need this change.
bevy_rapier3d/examples/ray_casting3.rs
fn ray_from_mouse_position
near.z
Fixed with bevy_rapier 0.13. Please reopen if the problem persists.
bevy_rapier
In file
bevy_rapier3d/examples/ray_casting3.rs
: I copyfn ray_from_mouse_position
to my project, but it doesn't work. I fixed it by changingnear.z
from 0 to -1. Maybe the example file also need this change.