Class: Bone
Lua
C++
Edit

Bone::SetPosition

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.

Syntax

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

Remarks

To combine programmatic movement with animation, this method should be called after World::Update and before World::Render.

Copyright © 2024 Ultra Software.
All rights reserved.