Actor in C++

Is there anyone who use Panda in C++
How to create an Actor in C++?
Thanks for any help

212 Posts: Yeah a palindrom as post number

The Actor class is actually a Python extension. To make an animated character in C++, you will need to use the lower-level Character class and its associated AnimControl objects.

One easy thing to do is load your model and its associated animations, and parent them all to the same node, then call auto_bind() on that node, which fills in an AnimControlCollection object with all of the animations, organized by name. Then you can play them individually as you like. (And you can unparent all of the animations from the scene graph; they’re no longer needed.) panda/src/framework/windowFramework.cxx has an example of this, which is used when you pview a model and its animations.