GodotComponentTest/entities/Player.tscn

62 lines
1.9 KiB
Plaintext

[gd_scene load_steps=10 format=2]
[ext_resource path="res://entities/Player.cs" type="Script" id=1]
[ext_resource path="res://components/NavigationComponent.cs" type="Script" id=2]
[ext_resource path="res://assets/Characters/Pirate.tscn" type="PackedScene" id=4]
[ext_resource path="res://components/WorldInfoComponent.cs" type="Script" id=5]
[ext_resource path="res://utils/DebugGeometry.cs" type="Script" id=6]
[ext_resource path="res://components/MovableComponent.tscn" type="PackedScene" id=7]
[sub_resource type="CapsuleShape" id=7]
radius = 0.27
height = 0.4
[sub_resource type="CylinderShape" id=24]
height = 0.2
[sub_resource type="SphereShape" id=23]
radius = 0.1
[node name="Player" type="KinematicBody"]
collision_mask = 0
axis_lock_motion_y = true
move_lock_y = true
script = ExtResource( 1 )
[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.5, 0 )
shape = SubResource( 7 )
[node name="Movable" parent="." instance=ExtResource( 7 )]
[node name="WorldInfo" type="Node" parent="."]
script = ExtResource( 5 )
World = NodePath("../../TileWorld")
[node name="Navigation" type="Spatial" parent="."]
script = ExtResource( 2 )
[node name="ItemAttractorArea" type="Area" parent="."]
collision_layer = 0
collision_mask = 8
monitorable = false
[node name="CollisionShape" type="CollisionShape" parent="ItemAttractorArea"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.123516, 0 )
shape = SubResource( 24 )
[node name="ItemPickupArea" type="Area" parent="."]
collision_layer = 0
collision_mask = 8
monitorable = false
[node name="CollisionShape" type="CollisionShape" parent="ItemPickupArea"]
shape = SubResource( 23 )
[node name="Geometry" parent="." instance=ExtResource( 4 )]
[node name="DebugGeometry" type="Spatial" parent="."]
script = ExtResource( 6 )
[node name="ImmediateGeometry" type="ImmediateGeometry" parent="DebugGeometry"]