0 votes

I want to only record the movement in one of the axis in rotation not all. The engine only allows you to make a key of all of the rotation degree points. Is there a way to only make a key of the x, or y, or z alone?

Godot version Godot 3.2.3 Stable
in Engine by (31 points)

1 Answer

+1 vote

Simple answer: You can't. Godot doesn't track rotation in euler angles, but in Quaternions. It only translates quaternions into euler angles in the editor because they are simpler to understand for humans.

Complex answer: You could try to use a Tween and then interpolate that angle. I'm not sure if the animation player can start tweens though.

by (330 points)

Ok, that's good to know. Thank for the information :D! I was planning on doing it through code but I'm kind of avoiding it until now haha.

Thanks again!

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.