• Advertisement
Sign in to follow this  

[FIXED] [PhysX 3.3.4] Sometimes onContact is not called

This topic is 394 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Here the situation : PhysX 3.3.4 with one callback for the onContact, one triangle mesh and one sphere.
The sphere has one linearVelocity set on the start, gravity disabled and linearDamping at 0.0f to not have friction on the movement.
Depending on the angle the sphere is launched, sometimes the onContact callback is not called.
If I move manually the sphere actor using setGlobalPose, I always got the onContact called.
Any idea why and maybe a solution for this issue ?

Edit [FIXED] :

I fixed the bug, was my fault.
I used the flag eNOTIFY_TOUCH_PERSISTS and not eNOTIFY_TOUCH_FOUND in the filter shader.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement