Actor and forces Managment

Getting started with PhysX 2 and I was wondering how does one keep track of the actors in the rendercallback. for example is there like an ID associated with each actor or can i some how assign an ID so i can then recall that ID and then apply a particular force to it alone? say i create an actor on the fly and i want particular forces to be applied to just that actor but not the rest of the actors how does one go about doing that?

Im using c++, opengl, and visual studio

I think i figured it out. I create a struck or class that i can then pass to the actor and then test for when going through each actor in a for loop during render.

I think you’ve figured it out already. The obvious way to do this is to store a pointer to a struct containing the actor id in PxActor::userData.