human_visual.tscn 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. [gd_scene load_steps=8 format=2]
  2. [ext_resource path="res://exported_models/human_eyes.obj" type="ArrayMesh" id=1]
  3. [ext_resource path="res://exported_models/human_face.obj" type="ArrayMesh" id=2]
  4. [ext_resource path="res://exported_models/human_robes.obj" type="ArrayMesh" id=3]
  5. [ext_resource path="res://scripts/Cloak.gd" type="Script" id=4]
  6. [sub_resource type="SpatialMaterial" id=1]
  7. albedo_color = Color( 0.196078, 0.196078, 0.196078, 1 )
  8. [sub_resource type="SpatialMaterial" id=2]
  9. albedo_color = Color( 0, 0, 0, 1 )
  10. emission_enabled = true
  11. emission = Color( 0.784314, 0.784314, 0.352941, 1 )
  12. emission_energy = 2.21
  13. emission_operator = 0
  14. emission_on_uv2 = false
  15. [sub_resource type="CapsuleShape" id=3]
  16. [node name="Spatial" type="Spatial"]
  17. transform = Transform( 0.1, 0, 0, 0, -4.37114e-09, 0.1, 0, -0.1, -4.37114e-09, 0, 0, 0 )
  18. [node name="human_robes" type="MeshInstance" parent="."]
  19. transform = Transform( 1, 0, 0, 0, 1, 7.10543e-15, 0, -7.10543e-15, 1, 0, 0, 0 )
  20. mesh = ExtResource( 3 )
  21. material/0 = SubResource( 1 )
  22. script = ExtResource( 4 )
  23. [node name="human_face" type="MeshInstance" parent="."]
  24. mesh = ExtResource( 2 )
  25. material/0 = null
  26. [node name="eyes" type="MeshInstance" parent="."]
  27. transform = Transform( 1, 0, 0, 0, 1, 3.55271e-15, 0, -3.55271e-15, 1, 0, 0, 0 )
  28. mesh = ExtResource( 1 )
  29. material/0 = SubResource( 2 )
  30. [node name="OmniLight3" type="OmniLight" parent="."]
  31. transform = Transform( 10, 0, 0, 0, 10, 5.96856e-13, 0, -5.96856e-13, 10, -0.556351, -4.71408, 14.4107 )
  32. light_color = Color( 0.784314, 0.784314, 0.352941, 1 )
  33. light_energy = 0.4
  34. omni_range = 0.1
  35. [node name="human" type="StaticBody" parent="."]
  36. collision_layer = 13
  37. [node name="CollisionShape" type="CollisionShape" parent="human"]
  38. transform = Transform( 6.70971, 0, 0, 0, 7.08227, -6.7557e-08, 0, -6.75596e-08, 8.62783, 0, -0.247, 7.706 )
  39. shape = SubResource( 3 )