2022-08-16 02:02:38 +02:00
|
|
|
[gd_scene load_steps=3 format=2]
|
|
|
|
|
2022-08-31 21:25:52 +02:00
|
|
|
[ext_resource path="res://scripts/trains/TrainCar.cs" type="Script" id=1]
|
|
|
|
[ext_resource path="res://scenes/trains/Bogie.tscn" type="PackedScene" id=2]
|
2022-08-16 02:02:38 +02:00
|
|
|
|
|
|
|
[node name="Train Car" type="Spatial"]
|
|
|
|
script = ExtResource( 1 )
|
2022-08-18 01:42:04 +02:00
|
|
|
Wheelbase = 5.0
|
2022-08-16 02:02:38 +02:00
|
|
|
_boxNode = NodePath("CSGBox")
|
|
|
|
_bogiePaths = [ NodePath("Bogie"), NodePath("Bogie2") ]
|
|
|
|
|
|
|
|
[node name="CSGBox" type="CSGBox" parent="."]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
|
|
|
|
width = 1.0
|
|
|
|
height = 1.0
|
|
|
|
depth = 8.0
|
|
|
|
|
|
|
|
[node name="Bogie" parent="." instance=ExtResource( 2 )]
|
2022-08-18 01:42:04 +02:00
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.5 )
|
2022-08-16 02:02:38 +02:00
|
|
|
|
|
|
|
[node name="Bogie2" parent="." instance=ExtResource( 2 )]
|
2022-08-18 01:42:04 +02:00
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2.5 )
|