Skip to content

Commit a7f8fa2

Browse files
committed
3D project: clean up temporary code used to realign the shooting point when testing the tutorial
1 parent 0932a3c commit a7f8fa2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

3d-project-completed/lessons_reference/video_16/player/player.gd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ extends CharacterBody3D
33

44
func _ready():
55
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
6-
%Marker3D.look_at(%Camera3D.global_position + %Camera3D.global_transform.basis.z * 1000)
76
%Marker3D.rotation_degrees.y += 2.0
87

98

3d-project-completed/lessons_reference/video_16/player/player.tscn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ transform = Transform3D(-0.300089, -0.0103925, 0.0153999, -0.0081543, 0.297613,
2727

2828
[node name="Marker3D" type="Marker3D" parent="Camera3D"]
2929
unique_name_in_owner = true
30-
transform = Transform3D(-0.428699, -0.0148464, 0.0219999, -0.011649, 0.425161, 0.0599174, -0.0238477, 0.0592063, -0.424751, 0.364214, -0.0933893, -0.624222)
30+
transform = Transform3D(0.42952, 0, 0, 0, 0.42952, 0, 0, 0, 0.42952, 0.364214, -0.0933893, -0.624222)
3131
gizmo_extents = 0.37
3232

3333
[node name="Timer" type="Timer" parent="."]

0 commit comments

Comments
 (0)