Player.tscn 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. [gd_scene load_steps=4 format=2]
  2. [ext_resource path="res://scripts/NagPlace.gd" type="Script" id=1]
  3. [ext_resource path="res://scripts/Player.gd" type="Script" id=2]
  4. [sub_resource type="CapsuleShape" id=1]
  5. [node name="Player" type="KinematicBody"]
  6. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.31931, 0.5, 9.81892 )
  7. script = ExtResource( 2 )
  8. [node name="CollisionShape" type="CollisionShape" parent="."]
  9. transform = Transform( 0.3, 0, 0, 0, -1.31134e-08, -0.3, 0, 0.3, -1.31134e-08, 0, 0, 0 )
  10. shape = SubResource( 1 )
  11. [node name="Camera" type="Camera" parent="."]
  12. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.55162, 0 )
  13. current = true
  14. near = 0.01
  15. [node name="RayCast" type="RayCast" parent="Camera"]
  16. transform = Transform( 0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.15, 0, 0, 0 )
  17. enabled = true
  18. cast_to = Vector3( 0, 0, -1 )
  19. collision_mask = 4
  20. [node name="Spatial" type="Spatial" parent="."]
  21. transform = Transform( 0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 0.107121, 0.141477, -0.501736 )
  22. visible = false
  23. [node name="NagPlace" type="Spatial" parent="."]
  24. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.320355, -0.978172 )
  25. script = ExtResource( 1 )
  26. col = Color( 0.823529, 0.478431, 0.25098, 1 )