target_round.go 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. embedded_components {
  2. id: "model"
  3. type: "model"
  4. data: "mesh: \"/assets/models/kenney_prototype-kit/target-a-round.glb\"\n"
  5. "name: \"{{NAME}}\"\n"
  6. "materials {\n"
  7. " name: \"colormap\"\n"
  8. " material: \"/assets/materials/unlit.material\"\n"
  9. " textures {\n"
  10. " sampler: \"texture0\"\n"
  11. " texture: \"/assets/models/kenney_prototype-kit/Textures/colormap.png\"\n"
  12. " }\n"
  13. "}\n"
  14. ""
  15. position {
  16. y: -0.25
  17. }
  18. rotation {
  19. y: 0.70710677
  20. w: 0.70710677
  21. }
  22. }
  23. embedded_components {
  24. id: "collisionobject"
  25. type: "collisionobject"
  26. data: "type: COLLISION_OBJECT_TYPE_STATIC\n"
  27. "mass: 0.0\n"
  28. "friction: 0.1\n"
  29. "restitution: 0.5\n"
  30. "group: \"target\"\n"
  31. "mask: \"default\"\n"
  32. "embedded_collision_shape {\n"
  33. " shapes {\n"
  34. " shape_type: TYPE_SPHERE\n"
  35. " position {\n"
  36. " }\n"
  37. " rotation {\n"
  38. " }\n"
  39. " index: 0\n"
  40. " count: 1\n"
  41. " }\n"
  42. " data: 0.25\n"
  43. "}\n"
  44. "event_collision: false\n"
  45. "event_contact: false\n"
  46. "event_trigger: false\n"
  47. ""
  48. }