diff --git a/scenes/main.tscn b/scenes/main.tscn index ddf6e04..44b012a 100644 --- a/scenes/main.tscn +++ b/scenes/main.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=22 format=3 uid="uid://clq7nox1juh3a"] +[gd_scene format=3 uid="uid://clq7nox1juh3a"] [ext_resource type="Environment" uid="uid://c3bs0wfxpri8g" path="res://scenes/main-environment.tres" id="1_q4t1r"] [ext_resource type="Script" uid="uid://bqite16pastgo" path="res://scripts/vehicle.gd" id="2_xjb8m"] @@ -63,6 +63,9 @@ rough = true [sub_resource type="SphereShape3D" id="SphereShape3D_hhncp"] +[sub_resource type="BoxShape3D" id="BoxShape3D_ya4ey"] +size = Vector3(60, 0, 60) + [sub_resource type="PhysicsMaterial" id="PhysicsMaterial_tipki"] friction = 0.0 bounce = 0.1 @@ -133,10 +136,10 @@ angular_damp = 4.0 [node name="CollisionShape" type="CollisionShape3D" parent="Vehicle/Sphere"] shape = SubResource("SphereShape3D_hhncp") -[node name="Plane" type="CSGBox3D" parent="."] -transparency = 1.0 -use_collision = true -size = Vector3(60, 0, 60) +[node name="Plane" type="StaticBody3D" parent="."] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Plane"] +shape = SubResource("BoxShape3D_ya4ey") [node name="View" type="Node3D" parent="." node_paths=PackedStringArray("target")] transform = Transform3D(0.707107, -0.40558, 0.579228, 0, 0.819152, 0.573576, -0.707107, -0.40558, 0.579228, 3.5, 0, 5)