Răsfoiți Sursa

Timeseek works like this

Theo Hallenius 11 ani în urmă
părinte
comite
9aa278c590
1 a modificat fișierele cu 3 adăugiri și 2 ștergeri
  1. 3 2
      scene/animation/animation_tree_player.cpp

+ 3 - 2
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) {