Hello! I’m not sure if it’s even possible, but I want to control the model of the human directly, for example using some keys to raise hand etc. I mean each hand/leg, head. I have a model with armature imported to my app through
I’ve already read this manual few times, but I still don’t see the information I need. There is info about static models and Actors ( actually, as far as I know, thre is no such class in C++ reference ). so, is it possible to use One .egg file of whole body, but control the parts of it using armature or somehow else?
Yes, it is certainly possible. The “looking and gripping” sample program demonstrates this in Python.
In C++, it is more difficult, because you don’t have access to the high-level Actor class. Instead, you have to work with the same lower-level structures that the Actor class works with.
Before you do anything else, you have to have an animation loaded and playing on your character. Otherwise none of this will do anything. It can be a one-frame animation if you don’t actually want it to move, but it must have something. I assume you already know how to do this from the examples in windowFramework.cxx: