tree.unit 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. _guid = "6f1cbb83-25ee-4610-9b85-5c67b76378c6"
  2. _type = "unit"
  3. components = [
  4. {
  5. _guid = "0b6cba8a-a2e1-48bc-ae20-03bc3845444b"
  6. _type = "actor"
  7. data = {
  8. class = "static"
  9. collision_filter = "default"
  10. lock_rotation_x = true
  11. lock_rotation_y = true
  12. lock_rotation_z = true
  13. lock_translation_x = false
  14. lock_translation_y = true
  15. lock_translation_z = false
  16. mass = 10
  17. material = "default"
  18. }
  19. type = "actor"
  20. }
  21. {
  22. _guid = "33fc5855-a18a-4d20-9eb8-844ef2ef4c18"
  23. _type = "sprite_renderer"
  24. data = {
  25. depth = 0
  26. layer = 1
  27. material = "units/environment/tree/tree"
  28. sprite_resource = "units/environment/tree/tree"
  29. visible = true
  30. }
  31. type = "sprite_renderer"
  32. }
  33. {
  34. _guid = "525553d1-d333-4757-8608-9040ff265ebd"
  35. _type = "transform"
  36. data = {
  37. position = [
  38. 0
  39. 0
  40. 0
  41. ]
  42. rotation = [
  43. 0
  44. 0
  45. 0
  46. 1
  47. ]
  48. scale = [
  49. 1
  50. 1
  51. 1
  52. ]
  53. }
  54. type = "transform"
  55. }
  56. {
  57. _guid = "72a814e8-9a63-4034-98bc-71459c5f519d"
  58. _type = "collider"
  59. data = {
  60. collider_data = {
  61. half_extents = [
  62. 0.5
  63. 0.015625
  64. 0.5
  65. ]
  66. position = [
  67. 0
  68. 0
  69. 0.5
  70. ]
  71. rotation = [
  72. 0
  73. 0
  74. 0
  75. 1
  76. ]
  77. }
  78. shape = "box"
  79. source = "inline"
  80. }
  81. type = "collider"
  82. }
  83. {
  84. _guid = "9723f277-414b-4a25-956f-992e7f0acb51"
  85. _type = "script"
  86. data = {
  87. script_resource = "units/environment/tree/tree"
  88. }
  89. type = "script"
  90. }
  91. ]