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
077dbdf2
Unverified
Commit
077dbdf2
authored
Apr 17, 2020
by
Rémi Verschelde
Committed by
GitHub
Apr 17, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #37964 from AndreaCatania/AndreaCatania-patch-2
Activate Physics Process in SpringArm3D.
parents
32f95c2f
152303bf
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 @
077dbdf2
...
...
@@ -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_PHYSICS_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