mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add mutable_bone_axes to IKs
This commit is contained in:
parent
ef34c3d534
commit
031fd66fed
18 changed files with 760 additions and 155 deletions
|
|
@ -191,7 +191,7 @@ void BoneConstraint3D::set_apply_bone(int p_index, int p_bone) {
|
|||
Skeleton3D *sk = get_skeleton();
|
||||
if (sk) {
|
||||
if (settings[p_index]->apply_bone <= -1 || settings[p_index]->apply_bone >= sk->get_bone_count()) {
|
||||
WARN_PRINT("apply bone index out of range!");
|
||||
WARN_PRINT("Apply bone index out of range!");
|
||||
settings[p_index]->apply_bone = -1;
|
||||
} else {
|
||||
settings[p_index]->apply_bone_name = sk->get_bone_name(settings[p_index]->apply_bone);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue