The raycast direction pointing downward is modified when rotating the collider making implementing an FPS trickier
ramirezmike opened this issue · comments
mike commented
While using bevy-tnua to create an FPS controller if I looked up or down, the controller would fall.
Here's an example of the problem viewed from the side
clip-2024-04-03_19.09.00-ezgif.com-crop-video.mp4
As the controller tilts, it falls since the raycast is pointing down relative to the transform instead of -Vec3::Y or maybe the direction of gravity?
In the meantime, I think a workaround would be to put the camera as a child of the controller.