From ba3f0fa971cd3829309fafac44a923c5637796e2 Mon Sep 17 00:00:00 2001 From: ConorLPBoyle Date: Mon, 27 Jul 2020 19:52:51 +0300 Subject: [PATCH] Fixed reload_goal not being called when SkeletonIK3D::start is invoked with p_one_time = true (cherry picked from commit fa4d9c944637ae37c798806980cd78c806570da7) --- scene/animation/skeleton_ik.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scene/animation/skeleton_ik.cpp b/scene/animation/skeleton_ik.cpp index 374c2f02146..6ecf09faa37 100644 --- a/scene/animation/skeleton_ik.cpp +++ b/scene/animation/skeleton_ik.cpp @@ -538,6 +538,11 @@ bool SkeletonIK::is_running() { void SkeletonIK::start(bool p_one_time) { if (p_one_time) { set_process_internal(false); + + if (target_node_override) { + reload_goal(); + } + _solve_chain(); } else { set_process_internal(true);