Skip to content
Discussion options

You must be logged in to vote

Character vs Character Inner Body contacts will not have a valid mCharacterIDB, this will give you a mBodyB contact (and only if the layers are configured so that the inner body collides with the other character). This way of doing it is not recommended.

In order to collide with other CharacterVirtual's you need to set an interface to make characters aware of each other (Jolt does not track CharacterVirtual objects):

void SetCharacterVsCharacterCollision(CharacterVsCharacterCollision inCharacterVsCharacterCollision);

You can use this simple implementation:

JoltPhysics.js/JoltJS.idl

Lines 3112 to 3116 in 0a5d19c

i…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@LeXXik
Comment options

@jrouwe
Comment options

Answer selected by LeXXik
@LeXXik
Comment options

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