cylinder.unit 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. _guid = "40e61a0c-3a5d-400a-9f69-b89f346f52fb"
  2. _type = "unit"
  3. components = [
  4. {
  5. _guid = "4e97adb8-f875-4cd4-a6e3-59f3fd93c64f"
  6. _type = "transform"
  7. data = {
  8. position = [
  9. 0
  10. 0
  11. 0.5
  12. ]
  13. rotation = [
  14. 0
  15. 0
  16. 0
  17. 1
  18. ]
  19. scale = [
  20. 1
  21. 1
  22. 1
  23. ]
  24. }
  25. type = "transform"
  26. }
  27. {
  28. _guid = "67639086-1c54-4ef8-bf59-1a60d2ca6adb"
  29. _type = "collider"
  30. data = {
  31. material = "default"
  32. name = "Cylinder"
  33. scene = "core/units/primitives/cylinder"
  34. shape = "convex_hull"
  35. }
  36. type = "collider"
  37. }
  38. {
  39. _guid = "f1539903-68cd-4d86-bada-501be048c1c7"
  40. _type = "actor"
  41. data = {
  42. class = "static"
  43. collision_filter = "default"
  44. mass = 1
  45. material = "default"
  46. }
  47. type = "actor"
  48. }
  49. {
  50. _guid = "fca524d9-aaa4-4db7-b594-c39049e394b4"
  51. _type = "mesh_renderer"
  52. data = {
  53. cast_shadows = true
  54. geometry_name = "Cylinder"
  55. material = "core/units/primitives/primitive"
  56. mesh_resource = "core/units/primitives/cylinder"
  57. visible = true
  58. }
  59. type = "mesh_renderer"
  60. }
  61. ]