Added a new step obstacle to test the functionality of steping over objects
This commit is contained in:
parent
6e314ef557
commit
dbbac79339
@ -1,4 +1,4 @@
|
|||||||
[gd_scene load_steps=12 format=3 uid="uid://uu486cuub2hj"]
|
[gd_scene load_steps=13 format=3 uid="uid://uu486cuub2hj"]
|
||||||
|
|
||||||
[ext_resource type="Material" uid="uid://kltqp8pohwcp" path="res://levels/devtest/materials/floor.tres" id="1_i37c5"]
|
[ext_resource type="Material" uid="uid://kltqp8pohwcp" path="res://levels/devtest/materials/floor.tres" id="1_i37c5"]
|
||||||
[ext_resource type="Material" uid="uid://ceyfatuhguf1h" path="res://levels/devtest/materials/obstacle.tres" id="2_h0dxl"]
|
[ext_resource type="Material" uid="uid://ceyfatuhguf1h" path="res://levels/devtest/materials/obstacle.tres" id="2_h0dxl"]
|
||||||
@ -31,6 +31,9 @@ size = Vector3(0.03, 5, 0.5)
|
|||||||
[sub_resource type="BoxMesh" id="BoxMesh_2fetm"]
|
[sub_resource type="BoxMesh" id="BoxMesh_2fetm"]
|
||||||
size = Vector3(10, 5, 10)
|
size = Vector3(10, 5, 10)
|
||||||
|
|
||||||
|
[sub_resource type="BoxMesh" id="BoxMesh_mjdeu"]
|
||||||
|
size = Vector3(5, 0.3, 5)
|
||||||
|
|
||||||
[node name="Devtest" type="Node3D"]
|
[node name="Devtest" type="Node3D"]
|
||||||
|
|
||||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||||
@ -68,4 +71,10 @@ material_override = ExtResource("2_h0dxl")
|
|||||||
use_collision = true
|
use_collision = true
|
||||||
mesh = SubResource("BoxMesh_2fetm")
|
mesh = SubResource("BoxMesh_2fetm")
|
||||||
|
|
||||||
|
[node name="Step" type="CSGMesh3D" parent="."]
|
||||||
|
transform = Transform3D(0.99999, 0, -0.00441563, 0, 1, 0, 0.00441563, 0, 0.99999, -2.946, 0.15, -9.852)
|
||||||
|
material_override = ExtResource("2_h0dxl")
|
||||||
|
use_collision = true
|
||||||
|
mesh = SubResource("BoxMesh_mjdeu")
|
||||||
|
|
||||||
[node name="Player" parent="." instance=ExtResource("4_gq5tr")]
|
[node name="Player" parent="." instance=ExtResource("4_gq5tr")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user