Ball.prefab 1.1 KB

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0"?>
  2. <node id="443">
  3. <attribute name="Is Enabled" value="true" />
  4. <attribute name="Name" value="Ball" />
  5. <attribute name="Position" value="0 0 0" />
  6. <attribute name="Rotation" value="1 0 0 0" />
  7. <attribute name="Scale" value="1 1 1" />
  8. <attribute name="Variables" />
  9. <component type="StaticSprite2D" id="2120">
  10. <attribute name="Sprite" value="Sprite2D;Sprites/ball.png" />
  11. </component>
  12. <component type="RigidBody2D" id="2121">
  13. <attribute name="Body Type" value="Dynamic" />
  14. <attribute name="Mass" value="0.0314159" />
  15. <attribute name="Inertia" value="0.00015708" />
  16. <attribute name="Bullet" value="true" />
  17. </component>
  18. <component type="CollisionCircle2D" id="2122">
  19. <attribute name="Radius" value="0.1" />
  20. <attribute name="Category Bits" value="1" />
  21. <attribute name="Mask Bits" value="65535" />
  22. <attribute name="Density" value="1" />
  23. <attribute name="Friction" value="0" />
  24. <attribute name="Restitution" value="1" />
  25. </component>
  26. <component type="JSComponent" id="2123">
  27. <attribute name="ComponentFile" value="JSComponentFile;Components/Ball.js" />
  28. </component>
  29. </node>