Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

DynamicRayCastVehicleController wheels are affected by sensors #693

Open
LoronsoDev opened this issue Jul 3, 2024 · 0 comments
Open

DynamicRayCastVehicleController wheels are affected by sensors #693

LoronsoDev opened this issue Jul 3, 2024 · 0 comments

Comments

@LoronsoDev
Copy link

LoronsoDev commented Jul 3, 2024

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant