Jump to content
  • Advertisement
Sign in to follow this  

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

This topic is 547 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

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!