0 votes

I would like to rotate a different node (type Spatial) based on the rotation of a bone. I got the position of the bone with the bone pose Transform origin, but just setting the transforms equal does not rotate the other node correctly. I know the function Transform.rotated rotates from the rest position, but how do I get the rotation values without that function? The bones are being moved with SkeletonIKs (i.e. changing the TargetNode position and starting the IK) so I can't just rotate the other node's Transform at the same time with the same parameters.

Godot version v3.3.4
in Engine by (56 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.