How to identify an actor in Physx #31
Answered
by
preist-nvidia
carlosedubarreto
asked this question in
Q&A
-
Im searching how to do this but im not finding. I would like to know if there is a way to set or to get an id of each actor in the scene. My intention is to create a scene with the simulation and have some sort of id to link it with another scene in other software. Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
preist-nvidia
Nov 14, 2022
Replies: 1 comment 2 replies
-
You have two options: |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
preist-nvidia
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have two options:
userData: https://nvidia-omniverse.github.io/PhysX/physx/5.1.0/_build/physx/latest/class_px_actor.html?highlight=userdata#_CPPv4N7PxActor8userDataE
or a name: https://nvidia-omniverse.github.io/PhysX/physx/5.1.0/_build/physx/latest/class_px_actor.html?highlight=setname#_CPPv4N7PxActor7setNameEPKc