Adding a ramp complex to check rendering of movements - Increase ground size
This commit is contained in:
parent
2e0070e868
commit
8157036d28
1 changed files with 59 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=4 format=3 uid="uid://dhqay3umgle6c"]
|
[gd_scene load_steps=5 format=3 uid="uid://dhqay3umgle6c"]
|
||||||
|
|
||||||
[ext_resource type="Material" uid="uid://cdijyqa881tvv" path="res://maps/simple_grid.material" id="1_ympm1"]
|
[ext_resource type="Material" uid="uid://cdijyqa881tvv" path="res://maps/simple_grid.material" id="1_ympm1"]
|
||||||
|
|
||||||
|
@ -8,13 +8,68 @@ material = ExtResource( "1_ympm1" )
|
||||||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_y7uft"]
|
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_y7uft"]
|
||||||
data = PackedVector3Array(-1, 1, 1, 1, 1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, -1, 1, 1, 1, -1, -1, 1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, 1, 1, 1, -1, 1, -1, -1, 1, -1, 1, -1, 1, -1, -1, 1, 1, -1, -1, -1, -1, 1, 1, -1, -1, 1, -1, -1, -1, 1, 1, 1, -1, 1, 1, 1, 1, -1, -1, 1, 1, -1, 1, -1, 1, 1, -1, -1, -1, 1, 1, -1, 1, -1, -1, -1, 1, -1, 1, 1, -1, -1, -1, -1, -1)
|
data = PackedVector3Array(-1, 1, 1, 1, 1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, -1, 1, 1, 1, -1, -1, 1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, 1, 1, 1, -1, 1, -1, -1, 1, -1, 1, -1, 1, -1, -1, 1, 1, -1, -1, -1, -1, 1, 1, -1, -1, 1, -1, -1, -1, 1, 1, 1, -1, 1, 1, 1, 1, -1, -1, 1, 1, -1, 1, -1, 1, 1, -1, -1, -1, 1, 1, -1, 1, -1, -1, -1, 1, -1, 1, 1, -1, -1, -1, -1, -1)
|
||||||
|
|
||||||
|
[sub_resource type="BoxShape3D" id="BoxShape3D_6y272"]
|
||||||
|
|
||||||
[node name="basic_setup" type="Node3D"]
|
[node name="basic_setup" type="Node3D"]
|
||||||
|
|
||||||
[node name="floor" type="MeshInstance3D" parent="."]
|
[node name="floor" type="MeshInstance3D" parent="."]
|
||||||
transform = Transform3D(10, 0, 0, 0, 0.1, 0, 0, 0, 10, 0, -0.1, 0)
|
transform = Transform3D(30, 0, 0, 0, 0.1, 0, 0, 0, 30, 0, -0.1, 0)
|
||||||
mesh = SubResource( "BoxMesh_k23th" )
|
mesh = SubResource( "BoxMesh_k23th" )
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="floor"]
|
[node name="collision" type="StaticBody3D" parent="floor"]
|
||||||
|
|
||||||
[node name="@@22318" type="CollisionShape3D" parent="floor/StaticBody3D"]
|
[node name="shape" type="CollisionShape3D" parent="floor/collision"]
|
||||||
shape = SubResource( "ConcavePolygonShape3D_y7uft" )
|
shape = SubResource( "ConcavePolygonShape3D_y7uft" )
|
||||||
|
|
||||||
|
[node name="ramp-complex" type="Node3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14.5717, 0, 15.2275)
|
||||||
|
|
||||||
|
[node name="ramp" type="MeshInstance3D" parent="ramp-complex"]
|
||||||
|
transform = Transform3D(1.69964, 0.0527074, 0, -1.05415, 0.0849819, 0, 0, 0, 2, 3.88877, 1, 1.27697)
|
||||||
|
mesh = SubResource( "BoxMesh_k23th" )
|
||||||
|
skeleton = NodePath("../..")
|
||||||
|
|
||||||
|
[node name="collision" type="StaticBody3D" parent="ramp-complex/ramp"]
|
||||||
|
|
||||||
|
[node name="shape" type="CollisionShape3D" parent="ramp-complex/ramp/collision"]
|
||||||
|
shape = SubResource( "BoxShape3D_6y272" )
|
||||||
|
|
||||||
|
[node name="ramp2" type="MeshInstance3D" parent="ramp-complex"]
|
||||||
|
transform = Transform3D(0, -2.98023e-09, 2, -1.05391, 0.0849893, 0, -1.69979, -0.0526956, 0, -2.71124, 1, -2.4059)
|
||||||
|
mesh = SubResource( "BoxMesh_k23th" )
|
||||||
|
skeleton = NodePath("../..")
|
||||||
|
|
||||||
|
[node name="collision" type="StaticBody3D" parent="ramp-complex/ramp2"]
|
||||||
|
|
||||||
|
[node name="shape" type="CollisionShape3D" parent="ramp-complex/ramp2/collision"]
|
||||||
|
shape = SubResource( "BoxShape3D_6y272" )
|
||||||
|
|
||||||
|
[node name="ramp-horizontal" type="MeshInstance3D" parent="ramp-complex"]
|
||||||
|
transform = Transform3D(3.503, 0, 0, 0, 0.1, 0, 0, 0, 2, -1.26628, 2, 1.27697)
|
||||||
|
mesh = SubResource( "BoxMesh_k23th" )
|
||||||
|
skeleton = NodePath("../..")
|
||||||
|
|
||||||
|
[node name="collision" type="StaticBody3D" parent="ramp-complex/ramp-horizontal"]
|
||||||
|
|
||||||
|
[node name="shape" type="CollisionShape3D" parent="ramp-complex/ramp-horizontal/collision"]
|
||||||
|
shape = SubResource( "BoxShape3D_6y272" )
|
||||||
|
|
||||||
|
[node name="wall" type="MeshInstance3D" parent="ramp-complex"]
|
||||||
|
transform = Transform3D(3.503, 0, 0, 0, 0, -2, 0, 0.1, 0, -1.26628, 2, 3.18398)
|
||||||
|
mesh = SubResource( "BoxMesh_k23th" )
|
||||||
|
skeleton = NodePath("../..")
|
||||||
|
|
||||||
|
[node name="collision" type="StaticBody3D" parent="ramp-complex/wall"]
|
||||||
|
|
||||||
|
[node name="shape" type="CollisionShape3D" parent="ramp-complex/wall/collision"]
|
||||||
|
shape = SubResource( "BoxShape3D_6y272" )
|
||||||
|
|
||||||
|
[node name="wall2" type="MeshInstance3D" parent="ramp-complex"]
|
||||||
|
transform = Transform3D(1.19209e-07, 0.1, 0, 0, 5.96046e-09, -2, -2, 0, 1.19209e-07, -4.7697, 2, 1.19322)
|
||||||
|
mesh = SubResource( "BoxMesh_k23th" )
|
||||||
|
skeleton = NodePath("../..")
|
||||||
|
|
||||||
|
[node name="collision" type="StaticBody3D" parent="ramp-complex/wall2"]
|
||||||
|
|
||||||
|
[node name="shape" type="CollisionShape3D" parent="ramp-complex/wall2/collision"]
|
||||||
|
shape = SubResource( "BoxShape3D_6y272" )
|
||||||
|
|
Loading…
Reference in a new issue