pmndrs / react-three-rapier

🤺 Rapier physics in React
https://react-three-rapier.pmnd.rs
MIT License
983 stars 55 forks source link

DynamicRayCastVehicleController wheels are affected by sensors #693

Open LoronsoDev opened 2 weeks ago

LoronsoDev commented 2 weeks ago

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

RapierSensorWheels