How to list joints in Panda

Hey everyone,

I’m trying to figure out how to get the joints of an Actor model in list format ideally. I was wondering if there was functionality to do this. I tried to find them by doing .find operations on the Actor, but no luck.

Cheers,
Lucas

On the egg file, you can execute the command:


egg-optchar -ls actor.egg

On the Actor itself, it’s a bit trickier. There will be a method actor.listJoints() available in a future version of Panda, but for now you can do something like this:


actor.getPart('modelRoot').node().getBundle().write(ostream, 0)

David