This method can be used to manually rotate a bone. You can control skinned models enirely in code or apply your own movements on top of animation.
Parameter | Description |
---|---|
position, (pitch, yaw, roll) | position to set |
global | if set to true position is relative to the skeleton, otherwise it is relative to the bone's parent |
To combine programmatic movement with animation, this method should be called after World::Update and before World::Render.