This website works better with JavaScript.
Home
Explore
Help
Sign In
cosine
/
nv-moba
Watch
1
Star
1
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
[Hero 5] Fix spawning too high in portals
master
Luna
7 years ago
parent
67c74db3e5
commit
c950cdb6e1
2 changed files
with
1 additions
and
4 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-4
scenes/levels/2.tscn
+1
-0
scripts/player.gd
+ 0
- 4
scenes/levels/2.tscn
View File
@ -76,10 +76,6 @@ subdivide_depth = 0
light_cull_mask = -1
light_cull_mask = -1
[node name="Players" parent="." index="1"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 11.4634, -0.377042 )
[node name="MeshInstance" parent="Ball" index="1"]
[node name="MeshInstance" parent="Ball" index="1"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 42.6514, 0, 12.0446 )
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 42.6514, 0, 12.0446 )
+ 1
- 0
scripts/player.gd
View File
@ -49,6 +49,7 @@ func _ready():
set_process_input
(
true
)
set_process_input
(
true
)
debug_node
=
get_node
(
"
/root/Level/Debug
"
)
debug_node
=
get_node
(
"
/root/Level/Debug
"
)
if
is_network_master
(
)
:
if
is_network_master
(
)
:
get_node
(
"
TPCamera/Camera/Ray
"
)
.
add_exception
(
self
)
get_node
(
tp_camera
)
.
set_enabled
(
true
)
get_node
(
tp_camera
)
.
set_enabled
(
true
)
spawn
(
)
spawn
(
)
if
"
is_ai
"
in
player_info
and
player_info
.
is_ai
and
not
ai_instanced
:
if
"
is_ai
"
in
player_info
and
player_info
.
is_ai
and
not
ai_instanced
:
Write
Preview
Loading…
Cancel
Save