Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
152303bf
Unverified
Commit
152303bf
authored
Apr 17, 2020
by
Andrea Catania
Committed by
GitHub
Apr 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Activate Physics Process in SpringArm3D.
parent
924cecf0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spring_arm_3d.cpp
scene/3d/spring_arm_3d.cpp
+2
-2
No files found.
scene/3d/spring_arm_3d.cpp
View file @
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_p
hysics_p
rocess_internal
(
true
);
}
break
;
case
NOTIFICATION_EXIT_TREE
:
if
(
!
Engine
::
get_singleton
()
->
is_editor_hint
())
{
set_process_internal
(
false
);
set_p
hysics_p
rocess_internal
(
false
);
}
break
;
case
NOTIFICATION_INTERNAL_PROCESS
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment