-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
PhysicsIssues with all kinds of Physics and their BindingsIssues with all kinds of Physics and their Bindingsenhancement
Milestone
Description
Long story short, i have a physic projectile that needs to explode when hitting everything except one rb.
Of course i could do that by messing around with collision groups, but it turned out that bullet provides a more convenient way for my use case.
Enabling CF_NO_CONTACT_RESPONSE will make the rb behave pretty much like a ghost control that is subjected to forces, the collision events will still be triggered, but it will pass through everything.
For my personal use i've just made a patch that exposes the setCollisionFlags method riccardobl@f1840b2
Seeing over the years others issues that would have been easily fixed by this, I think the engine would benefit from having a setContactResponse(boolean) method in PhysicsCollisionObject.
Thoughts?
Metadata
Metadata
Assignees
Labels
PhysicsIssues with all kinds of Physics and their BindingsIssues with all kinds of Physics and their Bindingsenhancement