Skip to content
Discussion options

You must be logged in to vote

BodyCreationSettings indeed doesn't offer this. If I understand correctly what you want then you can achieve that by installing a ContactListener and overriding OnContactAdded / OnContactPersisted to run your own logic and return that the overlap is a sensor overlap through the ioSettings parameter:

bool mIsSensor; ///< If the contact should be treated as a sensor vs body contact (no collision response)

Replies: 1 comment

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