From 9aa278c590397d0ad0f1fee80d3fafc52e00d2d4 Mon Sep 17 00:00:00 2001 From: Theo Hallenius Date: Mon, 7 Jul 2014 22:54:34 +0200 Subject: Timeseek works like this --- scene/animation/animation_tree_player.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scene/animation/animation_tree_player.cpp b/scene/animation/animation_tree_player.cpp index bd124746ba..2d1821bc5c 100644 --- a/scene/animation/animation_tree_player.cpp +++ b/scene/animation/animation_tree_player.cpp @@ -1046,8 +1046,9 @@ void AnimationTreePlayer::timescale_node_set_scale(const StringName& p_node,floa void AnimationTreePlayer::timeseek_node_seek(const StringName& p_node,float p_pos) { -// GET_NODE( NODE_TIMESEEK, TimeSeekNode ); -//hmm + GET_NODE( NODE_TIMESEEK, TimeSeekNode ); + n->seek_pos=p_pos; + } void AnimationTreePlayer::transition_node_set_input_count(const StringName& p_node, int p_inputs) { -- cgit v1.2.3