You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Player.tscn 1.2 KiB

4 vuotta sitten
4 vuotta sitten
4 vuotta sitten
4 vuotta sitten
4 vuotta sitten
123456789101112131415161718192021222324252627282930313233
  1. [gd_scene load_steps=5 format=2]
  2. [ext_resource path="res://jrpg/models/chars/Casual2_Female.glb" type="PackedScene" id=1]
  3. [ext_resource path="res://jrpg/scripts/entities/camera/camera_orbit.gd" type="Script" id=3]
  4. [ext_resource path="res://jrpg/scripts/entities/player.gd" type="Script" id=4]
  5. [sub_resource type="CapsuleShape" id=1]
  6. radius = 0.5
  7. [node name="Player" type="KinematicBody"]
  8. script = ExtResource( 4 )
  9. [node name="Casual2_Female" parent="." instance=ExtResource( 1 )]
  10. transform = Transform( 0.659486, 0, 0, 0, 0.659486, 0, 0, 0, 0.659486, 0, 0, 0 )
  11. [node name="CollisionShape" type="CollisionShape" parent="."]
  12. transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 1, 0 )
  13. shape = SubResource( 1 )
  14. [node name="CameraOrbit" type="Spatial" parent="."]
  15. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
  16. script = ExtResource( 3 )
  17. [node name="Camera" type="Camera" parent="CameraOrbit"]
  18. transform = Transform( -1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, -1, 1, -5 )
  19. current = true
  20. [node name="InteractRayCast" type="RayCast" parent="."]
  21. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.3, 1, 0.2 )
  22. enabled = true
  23. cast_to = Vector3( 0, 0, 1.7 )
  24. [editable path="Casual2_Female"]