Skip to content
Discussion options

You must be logged in to vote

The problem is that the ragdoll still collides with the vehicle, and I couldn't find a way to disable it. I am using body.SetIsSensor(true) on every part of the ragdoll and it succeeds, the ragdoll can move through other physics objects, but it still collides with the vehicle, why could this be?

I don't see how that could happen. I tried to repro this by adding a ragdoll to the vehicle test in the samples:

VehicleTest.zip

And that seems to do what I would expect it to do:

Jolt.Physics.Samples.2025-04-02.21-47-46.mp4

Personally, I would temporarily change the object layer of the bodies in the ragdoll or temporarily remove the ragdoll from the world completely as it is cheaper th…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by turanszkij
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants