Replies: 2 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
The relevant function pointer is just above in the box type, FYI. Are you raising both trigger and sim flags? Note that's illegal: https://nvidia-omniverse.github.io/PhysX/physx/5.1.3/_build/physx/latest/struct_px_shape_flag.html?highlight=etrigger_shape Or do you mean you don't get the trigger event for a convex trigger shape? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, as I trying to implement sensor behavior and I already make my convex shape work for collision by enable PxShapeFlag::eSIMULATION_SHAPE. but if I tried to make this shape as PxShapeFlag::eTRIGGER_SHAPE it will not fire onTrigger callback specified in my SimulationEventCallback. I did the same logic using box geometry, the onTrigger is fired when collision body enter and exit my sensor volume. I just wonder is there any special flag or other thing need to take care?
I dig more into the sdk found out this for convex case, the function "findTriggerContacts" overlap = overlapFunc() is false so there is no contact for trigger. Is this a bug or i did something wrong.
thank you.
Beta Was this translation helpful? Give feedback.
All reactions