Animation: how can i set a new start-time ?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Green Baron
:warning: Old Version Published before Godot 3 was released.

Hello,

i imported an animation from Blender (gear down, gear up), copied it and deleted either the up- and down part to have two separate animations. In one of them the first half (10 seconds) is now relatively boring. How can i set the new starting time ?

Thanx for any help !

:bust_in_silhouette: Reply From: lukas

To start an animation ("my_anim") from predefined time time I use:

get_node("path_to_anim").play("my_anim")
get_node("path_to_anim").seek(time, true)

Sorry, had a problem with my mousepointer. Didn’t meant to downvote on your post. If a mod reads this, would he/she correct it ? I meant to vote up …

Green Baron | 2016-04-03 19:01

You can cancel your unwanted downvote by reclicking the button ;).

lukas | 2016-04-04 10:10

:bust_in_silhouette: Reply From: Green Baron

Thanx.

It’s probably not possible to change the starting time of the animation in the editor, only the length.

In GDscript your solution is a possibility, another one in my case was to simply play the noitamina backwards …