Skip to content

Commit dff97e9

Browse files
committed
Add antenna to motorcycle
1 parent 48034b3 commit dff97e9

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

scenes/vehicle-motorcycle.tscn

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ debug_shape_custom_color = Color(0.898039, 0, 0, 1)
7272

7373
[node name="Model" parent="Container" unique_id=1374897151 instance=ExtResource("2_deusc")]
7474

75+
[node name="Antenna" parent="Container/Model" unique_id=585176449 instance=ExtResource("7_vmjf8")]
76+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.379591, -0.3690573)
77+
7578
[node name="TrailLeft" type="GPUParticles3D" parent="Container" unique_id=1350774766]
7679
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.05, -0.2)
7780
material_override = SubResource("StandardMaterial3D_tfk12")
@@ -93,9 +96,6 @@ autoplay = true
9396
[node name="ImpactSound" type="AudioStreamPlayer3D" parent="Container" unique_id=1542612165]
9497
stream = ExtResource("6_mll1c")
9598

96-
[node name="Antenna" parent="Container" unique_id=585176449 instance=ExtResource("7_vmjf8")]
97-
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.379591, -0.3690573)
98-
9999
[node name="Sphere" type="RigidBody3D" parent="." unique_id=1368519146]
100100
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
101101
collision_layer = 8

scripts/vehicle-motorcycle.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
extends Vehicle
22

3-
@onready var motorcycle = $"Container/Model/motorcycle"
3+
@onready var motorcycle = $"Container/Model"
44
@onready var fork = $"Container/Model/motorcycle/body/fork"
55

66
@onready var wheel_front = $"Container/Model/motorcycle/wheel-front"

0 commit comments

Comments
 (0)