How to access a specific object in a PxScene?

I’m going through and changing the gravity direction for the physics simulation. I want each object to have it’s own gravity direction. I’ve found that in PhysLevel there is a gravity direction that gets set. How can I access the individual objects within a PxScene? For my purposes I only need to access their location. Also it appears that gravity is set globally to each PxScene.

PScene->setGravity(U2PVector(*NewGrav));

This makes me believe I would need to create a new physics scene for each object. Do objects from PxScene interact with objects from another (I’m guessing no)?

And last, is the code within PxScene allowed to be modified? I see that it’s covered under NVIDIA software license agreement - but if anyone knows off hand it would save me time :slight_smile:

Thanks