Unverified Commit 077dbdf2 by Rémi Verschelde Committed by GitHub

Merge pull request #37964 from AndreaCatania/AndreaCatania-patch-2

Activate Physics Process in SpringArm3D.
parents 32f95c2f 152303bf
......@@ -45,12 +45,12 @@ void SpringArm3D::_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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment