NVIDIAGameWorks / PhysX

NVIDIA PhysX SDK
Other
3.19k stars 809 forks source link

Add user parameter to filter shader #675

Open ilyal451 opened 4 weeks ago

ilyal451 commented 4 weeks ago

I have a proposition to add a user parameter (as the output) to the filter shader so that it then can be further dispatched to the simulation event callback. It's just that I needed some more information than simply PxContactPair::event (also the documentation doesn't say if I can add my own flags here).