shmodot/scenes/TrainCar.tscn

23 lines
725 B
Plaintext

[gd_scene load_steps=3 format=2]
[ext_resource path="res://scripts/TrainCar.cs" type="Script" id=1]
[ext_resource path="res://scenes/Bogie.tscn" type="PackedScene" id=2]
[node name="Train Car" type="Spatial"]
script = ExtResource( 1 )
Wheelbase = 5.0
_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 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.5 )
[node name="Bogie2" parent="." instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2.5 )