Created the locomotion system scene
This commit is contained in:
parent
1b92e29897
commit
e3f9ecfc70
28
modules/systems/locomotion/locomotion.tscn
Normal file
28
modules/systems/locomotion/locomotion.tscn
Normal file
@ -0,0 +1,28 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dum1283wxnu5o"]
|
||||
|
||||
[ext_resource type="Script" path="res://modules/systems/locomotion/scripts/locomotion.gd" id="1_o7b0w"]
|
||||
|
||||
[sub_resource type="SeparationRayShape3D" id="SeparationRayShape3D_vrqk6"]
|
||||
length = 0.4
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_d8se7"]
|
||||
height = 1.8
|
||||
radius = 0.3
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_4vvyl"]
|
||||
height = 1.7
|
||||
|
||||
[node name="Locomotion" type="CharacterBody3D"]
|
||||
script = ExtResource("1_o7b0w")
|
||||
|
||||
[node name="StepCollider" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.4, 0)
|
||||
shape = SubResource("SeparationRayShape3D_vrqk6")
|
||||
|
||||
[node name="LocomotionCollider" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0)
|
||||
shape = SubResource("CylinderShape3D_d8se7")
|
||||
|
||||
[node name="ShapeCast3D" type="ShapeCast3D" parent="."]
|
||||
shape = SubResource("CylinderShape3D_4vvyl")
|
||||
target_position = Vector3(0, 0, 0)
|
Loading…
x
Reference in New Issue
Block a user