-
If I understand correctly, then whether a character collides with something is decided by the JoltPhysics.js/Examples/character_virtual.html Lines 177 to 184 in d833919 The example is using a moving layer: JoltPhysics.js/Examples/character_virtual.html Lines 79 to 80 in d833919 Which I would assume enable character vs character collisions, as both would act as if they are "normal" dynamic objects. However, it doesn't seem to be the case? Looks like the characters cannot see each other. Am I missing something? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
Hello, Character vs character collisions are not supported with CharacterVirtual as described here: https://jrouwe.github.io/JoltPhysics/index.html#character-controllers You need to pair it with a rigid body (for which I still have to create a helper class). |
Beta Was this translation helpful? Give feedback.
-
Hmm, this stopped working for me for some reason. The paired dynamic body started to collide with the character shape. I know that there was a change regarding the character colliding with sensors, but not sure if that affected it. At least I noticed that my body filter
|
Beta Was this translation helpful? Give feedback.
Hello,
Character vs character collisions are not supported with CharacterVirtual as described here:
https://jrouwe.github.io/JoltPhysics/index.html#character-controllers
You need to pair it with a rigid body (for which I still have to create a helper class).