Asteroid Belt Upgrade
Asteroids now use custom particle system with collider so they can be clicked, plus they now orbit at varying speeds! Fixed flags enum inspector; resources were being assigned to wrong body type: gas giants had planet resources, suns had gas giant resources, asteroids had nothing
This commit is contained in:
parent
ba681abeb6
commit
7c30a72c71
14 changed files with 516 additions and 202 deletions
|
|
@ -92,6 +92,9 @@ public class PlanetData : DatabaseEntry, INamedEntry
|
|||
|
||||
[JsonProperty("resources"), Key(6)]
|
||||
public Dictionary<Guid, float> Resources = new Dictionary<Guid, float>();
|
||||
|
||||
[JsonProperty("asteroids"), Key(7)]
|
||||
public float4[] Asteroids; // Distance, Phase, Size, RotationSpeed
|
||||
|
||||
// [JsonProperty("radius")] [Key(5)]
|
||||
// public float GravityRadius;
|
||||
|
|
|
|||
Loading…
Reference in a new issue