What you mean by 'an example of 2d-physics with physX'?
You can lock particular axis (or angles) to get 2d effect.
pXent_setbodyflag(ENTITY* entity, var BodyFlag, var on)

Greets


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung