• Advertisement
Sign in to follow this  

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Advertisement