Skip to content

Commit 81b6c80

Browse files
committed
bring back collision shape
1 parent c744f03 commit 81b6c80

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

demo/vehicles/sm42/sm_42.tscn

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
[ext_resource type="Resource" uid="uid://wi3rnp4pryi0" path="res://vehicles/sm42/sm42_sound_bank.tres" id="5_liqvc"]
88
[ext_resource type="Script" uid="uid://ba86u1wfkr52x" path="res://addons/libmaszyna/sound/train_sound_trigger.gd" id="6_clokw"]
99

10+
[sub_resource type="BoxShape3D" id="BoxShape3D_liqvc"]
11+
size = Vector3(4.0637207, 3.6567383, 12.690292)
12+
1013
[node name="SM42-099" type="Node3D" unique_id=1097141795]
1114
transform = Transform3D(-1, 0, -1.509958e-07, 0, 1, 0, 1.509958e-07, 0, -1, 0, 0, 0)
1215
script = ExtResource("1_liqvc")
@@ -30,6 +33,13 @@ model_filename = "6da_interior"
3033
skins = ["6d-907"]
3134
exclude_node_names = ["cien"]
3235

36+
[node name="Area3D" type="Area3D" parent="." unique_id=1817539912]
37+
monitoring = false
38+
39+
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D" unique_id=1381651767]
40+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.3839112, 2.1833436, 0.27777177)
41+
shape = SubResource("BoxShape3D_liqvc")
42+
3343
[node name="401W-1" type="E3DModelInstance" parent="." unique_id=1515864927]
3444
data_path = "/dynamic/pkp/401w_v2"
3545
model_filename = "main/401w"

0 commit comments

Comments
 (0)