feat: rethought behaviour separation and states
This commit is contained in:
parent
54a887dbf3
commit
c3ff41e1e6
12 changed files with 274 additions and 68 deletions
41
project/scenes/test_world.tscn
Normal file
41
project/scenes/test_world.tscn
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
[gd_scene format=3 uid="uid://cv0ub3llm3jew"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dcqd0wo5y5a1g" path="res://objects/player_character.tscn" id="1_kyfjp"]
|
||||
[ext_resource type="CharacterData" uid="uid://bmudhddb0vedg" path="res://data/default_player_character.tres" id="2_amxg5"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_kyfjp"]
|
||||
sky_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1)
|
||||
ground_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1)
|
||||
|
||||
[sub_resource type="Sky" id="Sky_amxg5"]
|
||||
sky_material = SubResource("ProceduralSkyMaterial_kyfjp")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_3263u"]
|
||||
background_mode = 2
|
||||
sky = SubResource("Sky_amxg5")
|
||||
tonemap_mode = 2
|
||||
glow_enabled = true
|
||||
|
||||
[node name="TestWorld" type="Node3D" unique_id=262419127]
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1185961481]
|
||||
environment = SubResource("Environment_3263u")
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=1382994887]
|
||||
transform = Transform3D(-0.8660254, -0.43301278, 0.25, 0, 0.49999997, 0.86602545, -0.50000006, 0.75, -0.43301266, 0, 0, 0)
|
||||
shadow_enabled = true
|
||||
|
||||
[node name="PlayerCharacter" parent="." unique_id=1435471129 instance=ExtResource("1_kyfjp")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
||||
data = ExtResource("2_amxg5")
|
||||
|
||||
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="." unique_id=885387983]
|
||||
use_collision = true
|
||||
|
||||
[node name="CSGBox3D" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1853081325]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0)
|
||||
size = Vector3(100, 1, 100)
|
||||
|
||||
[node name="CSGBox3D2" type="CSGBox3D" parent="CSGCombiner3D" unique_id=40055740]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.293318, 1.1054688, -6.6544046)
|
||||
size = Vector3(5.5302734, 2.2109375, 3.6298828)
|
||||
Loading…
Add table
Add a link
Reference in a new issue