~starkingdoms/starkingdoms

ref: 8cd3d04f86d10b98bf70ca240fd96acd3f55e253 starkingdoms/crates/unified/assets/config/parts/chassis.part.toml -rw-r--r-- 750 bytes
8cd3d04fghostly_zsh fix: orbit prediction follows hill spheres 21 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[part]
name = "Chassis"
sprite_connected = "textures/chassis.png"
sprite_disconnected = "textures/chassis.png"

[physics]
width = 50
height = 50
mass = 100

[[joint]]
id = "Top"
target = { translation = [ 0.0, 50.0, 0.0 ], rotation = 0.0 }
snap = { translation = [ 0.0, 25.0, 0.0 ], rotation = 0.0 }


[[joint]]
id = "Right"
target = { translation = [ 50.0, 0.0, 0.0 ], rotation = -90.0 }
snap = { translation = [ 25.0, 0.0, 0.0 ], rotation = 0.0 }

[[joint]]
id = "Bottom"
target = { translation = [ 0.0, -50.0, 0.0 ], rotation = -180.0 }
snap = { translation = [ 0.0, -25.0, 0.0 ], rotation = 0.0 }

[[joint]]
id = "Left"
target = { translation = [ -50.0, 0.0, 0.0 ], rotation = -270.0 }
snap = { translation = [ -25.0, 0.0, 0.0 ], rotation = 0.0 }