]> git.tdb.fi Git - libs/game.git/blob - examples/bassteroids/data/asteroid1.roid.setup
Load the various setups through resources
[libs/game.git] / examples / bassteroids / data / asteroid1.roid.setup
1 physical
2 {
3         body
4         {
5                 mass 200;
6                 moment_of_inertia 2160;
7         };
8         collider
9         {
10                 type CIRCLE;
11                 radius 3;
12         };
13 };
14 hittable
15 {
16         damaging true;
17         hits
18         {
19                 max_hits 3;
20                 vulnerable_to 1;
21         };
22         damage
23         {
24                 amount 10;
25                 type 1;
26         };
27 };
28 mesh
29 {
30         object_name "Asteroid 1.object";
31 };