Basic character controller
This commit is contained in:
@@ -1,23 +1,27 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://Textures/kenney_prototype_textures/dark/texture_01.png" type="Texture" id=1]
|
||||
[ext_resource path="res://Materials/Dark_ProtoMat.tres" type="Material" id=1]
|
||||
[ext_resource path="res://Player.tscn" type="PackedScene" id=2]
|
||||
|
||||
[sub_resource type="SpatialMaterial" id=1]
|
||||
albedo_texture = ExtResource( 1 )
|
||||
uv1_triplanar = true
|
||||
[ext_resource path="res://Materials/Orange_ProtoMat.tres" type="Material" id=3]
|
||||
|
||||
[node name="Spatial" type="Spatial"]
|
||||
|
||||
[node name="CSGCombiner" type="CSGCombiner" parent="."]
|
||||
use_collision = true
|
||||
|
||||
[node name="CSGBox" type="CSGBox" parent="CSGCombiner"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -4, 0 )
|
||||
width = 26.0
|
||||
depth = 26.0
|
||||
material = SubResource( 1 )
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0 )
|
||||
width = 106.0
|
||||
depth = 82.0
|
||||
material = ExtResource( 1 )
|
||||
|
||||
[node name="CSGPolygon" type="CSGPolygon" parent="CSGCombiner"]
|
||||
transform = Transform( 3.51681, 0, 0, 0, 4.16599, 0, 0, 0, 14.5504, 22.4026, 0, 7 )
|
||||
polygon = PoolVector2Array( 0, 0, -3, 0, 1, 1, 1, 0 )
|
||||
material = ExtResource( 3 )
|
||||
|
||||
[node name="DirectionalLight" type="DirectionalLight" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 0.258819, 0.965926, 0, -0.965926, 0.258819, 0, 15.4487, 13 )
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource( 2 )]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 9, 0 )
|
||||
|
||||
Reference in New Issue
Block a user