+3 votes

I noticed that it is possible to add other types of tracks to an AnimationPlayer node besides the "Normal Track" to animate properties. The usage of the "Call func" track is explained here: http://www.gamefromscratch.com/post/2015/06/07/Godot-Engine-Tutorial-Part-10-Animation.aspx

But what is the purpose of the "Transform Track? I couldnt find anything related to this in the official documentation or other sites.


in Engine by (30 points)

1 Answer

+1 vote
Best answer

The docs for the Animation class say:

Transform tracks are used to change node local transforms or skeleton pose bones. Transitions are Interpolated.

They are basically used to set the transformation of Spatial-derived nodes. Their primary use, in my experience, is animating Skeletons. For example, if you import an armature-based 3D animated character into Godot, the animation tracks of the bones will be Transform tracks.

by (1,554 points)
selected by

Thank you for your explanation. I guess I missed the sentence in the docs. But your example makes it even clearer to me.

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 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 webmaster@godotengine.org with your username.