Made road piece with collision

This commit is contained in:
2024-06-03 23:52:03 -05:00
parent dcf1563459
commit 8970201ccd

View File

@ -0,0 +1,13 @@
[gd_scene load_steps=3 format=3 uid="uid://ru1tus7l28vq"]
[ext_resource type="PackedScene" uid="uid://dpc5x86bvjnb6" path="res://Blender Files/RoadPiece.blend" id="1_84l4q"]
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_21f8i"]
data = PackedVector3Array(-3.3779, 0, 2, 3.3779, 0, -2, 3.3779, 0, 2, -3.3779, 0, 2, -3.3779, 0, -2, 3.3779, 0, -2, -3.378, 0, 2, -3.378, 0.0449, -2, -3.378, 0, -2, -3.378, 0, 2, -3.378, 0.0449, 2, -3.378, 0.0449, -2, 3.4471, 0.1688, 2, 3.3981, 0.1325, -2, 3.4471, 0.1688, -2, 3.4471, 0.1688, 2, 3.3981, 0.1325, 2, 3.3981, 0.1325, -2, 3.3981, 0.1325, 2, 3.3778, 0.0449, -2, 3.3981, 0.1325, -2, 3.3981, 0.1325, 2, 3.3778, 0.0449, 2, 3.3778, 0.0449, -2, -3.4472, 0.1688, 2, -5, 0.1688, -2, -3.4472, 0.1688, -2, -3.4472, 0.1688, 2, -5, 0.1688, 2, -5, 0.1688, -2, -3.3983, 0.1325, -2, -3.378, 0.0449, 2, -3.3983, 0.1325, 2, -3.3983, 0.1325, -2, -3.378, 0.0449, -2, -3.378, 0.0449, 2, -3.4472, 0.1688, -2, -3.3983, 0.1325, 2, -3.4472, 0.1688, 2, -3.4472, 0.1688, -2, -3.3983, 0.1325, -2, -3.3983, 0.1325, 2, 3.3778, 0, -2, 3.3778, 0.0449, 2, 3.3778, 0, 2, 3.3778, 0, -2, 3.3778, 0.0449, -2, 3.3778, 0.0449, 2, 3.4471, 0.1688, -2, 5, 0.1688, 2, 3.4471, 0.1688, 2, 3.4471, 0.1688, -2, 5, 0.1688, -2, 5, 0.1688, 2)
[node name="RoadPiece" instance=ExtResource("1_84l4q")]
[node name="StaticBody3D" type="StaticBody3D" parent="Plane" index="0"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Plane/StaticBody3D" index="0"]
shape = SubResource("ConcavePolygonShape3D_21f8i")