Jump to content
  • Advertisement
Sign in to follow this  
Alundra

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

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

Hi,
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 ?
Thanks

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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!