Adding proper collisions to test obstacles

This commit is contained in:
yannk 2022-02-04 14:09:31 +01:00
parent ad0df5c923
commit ebc6a541c9

View file

@ -143,7 +143,6 @@ transform = Transform3D(3.503, 0, 0, 0, 0.1, 0, 0, 0, 2, -1.26628, 2, 1.27697)
shape = SubResource( "BoxShape3D_6y272" )
[node name="MeshInstance3D" type="MeshInstance3D" parent="ramp-moving/moving/AnimatableBody3D/horizontal"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
mesh = SubResource( "BoxMesh_s0ird" )
surface_material_override/0 = ExtResource( "1_ympm1" )
@ -161,7 +160,6 @@ mesh = SubResource( "BoxMesh_k23th" )
skeleton = NodePath("../..")
[node name="collision" type="StaticBody3D" parent="obstacles/obstacle1"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0)
[node name="shape" type="CollisionShape3D" parent="obstacles/obstacle1/collision"]
shape = SubResource( "ConcavePolygonShape3D_y7uft" )
@ -195,5 +193,3 @@ skeleton = NodePath("../..")
[node name="shape" type="CollisionShape3D" parent="obstacles/obstacle4/collision"]
shape = SubResource( "ConcavePolygonShape3D_y7uft" )
[node name="moving-ramp" type="Node3D" parent="."]