react-three-rapier icon indicating copy to clipboard operation
react-three-rapier copied to clipboard

DynamicRayCastVehicleController wheels are affected by sensors

Open LoronsoDev opened this issue 7 months ago • 0 comments

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

LoronsoDev avatar Jul 03 '24 11:07 LoronsoDev