react-three-rapier
react-three-rapier copied to clipboard
DynamicRayCastVehicleController wheels are affected by sensors
Hi, I've detected that the wheels of DynamicRaycastVehicle ignore the sensor or generally have a weird behaviour when they are in contact.
The sensor is really simple, taken from the Readme in this repo:
<RigidBody type="fixed"> <CuboidCollider position={controls.leftTriggerPos} args={[2,2,2]} sensor={true} onIntersectionEnter={() => console.log("Goal!")} /> </RigidBody>
On the upside the demo gif is kinda funny