pmndrs / use-cannon

👋💣 physics based hooks for @react-three/fiber
https://cannon.pmnd.rs
2.74k stars 154 forks source link

Wheels on RaycastVehicle are sideways in debug view #300

Closed posobin closed 2 years ago

posobin commented 2 years ago

This might be caused by cannon-es-debugger, posting here as Krispy on the pmndrs discord advised me to.

I have been looking at the RaycastVehicle example in the repo. When I turn on debug mode without making other changes, cannon's understanding of the wheels seems to be sideways:

That doesn't seem to actually affect the physics and the car drives well.

Here is the link to the fork of the example from the repo: https://codesandbox.io/s/raycast-vehicle-forked-td1bf?file=/src/App.js