Godot Version
Version 4.4
Question
i tried to pose the head to follow a marker using set_bone_pose_rotation
, but when i enabled animation tree, it doesnt move at all, even though when anim tree is disabled it behaved correctly
Version 4.4
i tried to pose the head to follow a marker using set_bone_pose_rotation
, but when i enabled animation tree, it doesnt move at all, even though when anim tree is disabled it behaved correctly
Could you share some of your code? because get_bone_pose_rotation
does not edit a bone’s rotation, it shouldn’t have any visual affect.
front.look_at(target.global_position)
var new_rotation = Quaternion.from_euler(front.rotation) skeleton.set_bone_pose_rotation(skeleton_head, new_rotation) skeleton.set_bone_pose_rotation(skeleton_l, new_rotation) skeleton.set_bone_pose_rotation(skeleton_r, new_rotation)
im sorry i meant set_bone_pose_rotation, but this is the code i used for it
also a video, where the skeleton_l and skeleton_r are behaving correctly
did anybody figure out what the problem was, i’m having the same issue
you should use lookatmodifier node instead of look_at function, its a lot more user friendly, and can overwrite animation