Greetings everyone.
I wanted to make an animation in which the operator takes different pieces and performs some animation with the piece in hand. Try to create an object which would be surrate and also be parent to bone. The problem is that the object did not allow me to put both options.
So what I did to solve this was to use only parent to bone and when the operator takes the part I hide the content of the operator and make the component visible.
Basically the operation is as follows (Operator's Triggers)
On reset: switch_hideshape (current.find ("> visual / drawsurrogate"). First, 0);
On load: witch_hideshape (current.find ("> visual / drawsurrogate"). First, 0);
On Unload:
switch_hideshape (current.find ("> visual / drawsurrogate"). first, 0);
So is there an easier way to get the operator to do some animation with the object in hand?
Why can't the component be surragate and path to bone?
I attach the model and a capture of the result of how it looks what I managed to do.
The last part has to do with the bone animation.
I modified the animation for WalkLoaded, making one arm down. The problem is that if I paused the model and restarted it while loading a part, the operator appears with a crooked arm, but if I paused and restarted when the operator had already unloaded the part, it appeared fine in the hand.
Example when I paused and restard when the operator was loaded.
Example when I paused and restard when the operator was unloaded.
Thanks for your time.