From 4a6f2b8af6a1b699f2723c5fdf9e546529bbf6a8 Mon Sep 17 00:00:00 2001 From: Andrea Catania Date: Fri, 17 Apr 2020 16:22:24 +0200 Subject: [PATCH] Activate Physics Process in SpringArm3D. (cherry picked from commit 152303bf5119745e6bc545be46f2c3ec89b08729) --- scene/3d/spring_arm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scene/3d/spring_arm.cpp b/scene/3d/spring_arm.cpp index d540ff8ff3d..3b122c7d668 100644 --- a/scene/3d/spring_arm.cpp +++ b/scene/3d/spring_arm.cpp @@ -45,12 +45,12 @@ void SpringArm::_notification(int p_what) { switch (p_what) { case NOTIFICATION_ENTER_TREE: if (!Engine::get_singleton()->is_editor_hint()) { - set_process_internal(true); + set_physics_process_internal(true); } break; case NOTIFICATION_EXIT_TREE: if (!Engine::get_singleton()->is_editor_hint()) { - set_process_internal(false); + set_physics_process_internal(false); } break; case NOTIFICATION_INTERNAL_PHYSICS_PROCESS: