joeblox/gears/geep.tscn
2026-01-24 13:02:34 +13:00

87 lines
3.4 KiB
Text

[gd_scene load_steps=10 format=3 uid="uid://d3k7b6o56ue5k"]
[ext_resource type="Script" uid="uid://fljad0m3jlt0" path="res://gears/geep.gd" id="1_8skgp"]
[ext_resource type="Material" uid="uid://dpacu3e7vsks5" path="res://gears/geep_body.tres" id="2_rhiad"]
[ext_resource type="Material" uid="uid://bt5aat64e478k" path="res://gears/geep_wheel.tres" id="3_lrfuo"]
[sub_resource type="BoxShape3D" id="BoxShape3D_lrfuo"]
size = Vector3(3, 3, 6)
[sub_resource type="BoxMesh" id="BoxMesh_rhiad"]
material = ExtResource("2_rhiad")
size = Vector3(3, 0.5, 6)
[sub_resource type="BoxMesh" id="BoxMesh_kyikt"]
material = ExtResource("2_rhiad")
size = Vector3(0.5, 1.75, 6)
[sub_resource type="BoxMesh" id="BoxMesh_wm067"]
material = ExtResource("2_rhiad")
size = Vector3(3, 2, 2.5)
[sub_resource type="BoxMesh" id="BoxMesh_lrfuo"]
material = ExtResource("2_rhiad")
size = Vector3(3, 2, 0.5)
[sub_resource type="CylinderMesh" id="CylinderMesh_lrfuo"]
material = ExtResource("3_lrfuo")
top_radius = 1.0
bottom_radius = 1.0
height = 0.25
[node name="Gear" type="Node3D"]
rotation_edit_mode = 2
script = ExtResource("1_8skgp")
[node name="Timer" type="Timer" parent="."]
one_shot = true
[node name="GearMesh" type="Node3D" parent="."]
[node name="Vehicle" type="StaticBody3D" parent="GearMesh"]
transform = Transform3D(1, 0, 0, 0, 1.0000001, 0, 0, 0, 1.0000001, 0, 0, 0)
collision_layer = 4
[node name="CollisionShape3D" type="CollisionShape3D" parent="GearMesh/Vehicle"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
shape = SubResource("BoxShape3D_lrfuo")
[node name="BaseMesh" type="MeshInstance3D" parent="GearMesh/Vehicle"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9997004, 0)
mesh = SubResource("BoxMesh_rhiad")
[node name="LeftSideMesh" type="MeshInstance3D" parent="GearMesh/Vehicle"]
transform = Transform3D(1, 0, 0, 0, 0.9999999, 0, 0, 0, 0.9999999, -1.25, 2.1247003, 0)
mesh = SubResource("BoxMesh_kyikt")
skeleton = NodePath("")
[node name="RightSideMesh" type="MeshInstance3D" parent="GearMesh/Vehicle"]
transform = Transform3D(1, 0, 0, 0, 0.9999999, 0, 0, 0, 0.9999999, 1.25, 2.1247003, 0)
mesh = SubResource("BoxMesh_kyikt")
skeleton = NodePath("")
[node name="BonnetMesh" type="MeshInstance3D" parent="GearMesh/Vehicle"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.9997005, -1.75)
mesh = SubResource("BoxMesh_wm067")
[node name="TailgateMesh" type="MeshInstance3D" parent="GearMesh/Vehicle"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.9997005, 2.75)
mesh = SubResource("BoxMesh_lrfuo")
[node name="WheelFLMesh" type="MeshInstance3D" parent="GearMesh/Vehicle"]
transform = Transform3D(-4.371139e-08, -1, 0, 1, -4.371139e-08, 0, 0, 0, 1, 1.65, 1, 2)
mesh = SubResource("CylinderMesh_lrfuo")
[node name="WheelFRMesh" type="MeshInstance3D" parent="GearMesh/Vehicle"]
transform = Transform3D(-4.371139e-08, -1, 0, 1, -4.371139e-08, 0, 0, 0, 1, -1.65, 1, 2)
mesh = SubResource("CylinderMesh_lrfuo")
[node name="WheelBLMesh" type="MeshInstance3D" parent="GearMesh/Vehicle"]
transform = Transform3D(-4.371139e-08, -1, 0, 1, -4.371139e-08, 0, 0, 0, 1, 1.65, 1, -2)
mesh = SubResource("CylinderMesh_lrfuo")
[node name="WheelBRMesh" type="MeshInstance3D" parent="GearMesh/Vehicle"]
transform = Transform3D(-4.371139e-08, -1, 0, 1, -4.371139e-08, 0, 0, 0, 1, -1.65, 1, -2)
mesh = SubResource("CylinderMesh_lrfuo")
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]