Added basic first person controller
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://j70vfwwtwr3j"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://j70vfwwtwr3j"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cc1m2a1obsyn4" path="res://addons/fpc/character.tscn" id="1_55ev5"]
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_tsdft"]
|
||||
size = Vector3(4, 0.2, 4)
|
||||
@@ -84,3 +86,8 @@ mesh = SubResource("BoxMesh_pbmth")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticEnvironment/Walls/Wall4/StaticBody3D"]
|
||||
shape = SubResource("BoxShape3D_wh4xk")
|
||||
|
||||
[node name="Character" parent="." instance=ExtResource("1_55ev5")]
|
||||
transform = Transform3D(-3.4969112e-08, 0, -0.8, 0, 0.8, 0, 0.8, 0, -3.4969112e-08, 1.3677764, 0.12873024, -1.4075758)
|
||||
base_speed = 2.0
|
||||
acceleration = 5.0
|
||||
|
||||
Reference in New Issue
Block a user