59 lines
967 B
TOML
59 lines
967 B
TOML
[ship."Gypsum"]
|
|
sprite_texture = "ship::gypsum"
|
|
size = 100
|
|
mass = 1
|
|
hull = 200
|
|
|
|
engines = [{ x = 0.0, y = -1.05, size = 50.0 }]
|
|
guns = [{ x = 0.0, y = 1 }, { x = 0.1, y = 0.80 }, { x = -0.1, y = 0.80 }]
|
|
|
|
collision.points = [
|
|
#[rustfmt:skip],
|
|
[0.53921, 1.0000],
|
|
[0.53921, 0.29343],
|
|
[0.63725, 0.29343],
|
|
[0.63725, -0.03088],
|
|
[0.90019, -0.03088],
|
|
[0.90019, -0.61776],
|
|
[0.66666, -0.61776],
|
|
[0.66666, -0.86486],
|
|
[0.24509, -0.86486],
|
|
[0.24509, -1.00000],
|
|
|
|
[-0.24509, -1.00000],
|
|
[-0.24509, -0.86486],
|
|
[-0.66666, -0.86486],
|
|
[-0.66666, -0.61776],
|
|
[-0.90019, -0.61776],
|
|
[-0.90019, -0.03088],
|
|
[-0.63725, -0.03088],
|
|
[-0.63725, 0.29343],
|
|
[-0.53921, 0.29343],
|
|
[-0.53921, 1.0000],
|
|
]
|
|
|
|
# TODO: generate this automatically
|
|
collision.indices = [
|
|
#[rustfmt:skip],
|
|
[0, 1],
|
|
[1, 2],
|
|
[2, 3],
|
|
[3, 4],
|
|
[4, 5],
|
|
[5, 6],
|
|
[6, 7],
|
|
[7, 8],
|
|
[8, 9],
|
|
[9, 10],
|
|
[10, 11],
|
|
[11, 12],
|
|
[12, 13],
|
|
[13, 14],
|
|
[14, 15],
|
|
[15, 16],
|
|
[16, 17],
|
|
[17, 18],
|
|
[18, 19],
|
|
[19, 0],
|
|
]
|