Freeform Zone Generation
Modified zone generator to create multiple fixed points with areas of influence tangent to each other and the zone boundary Added weapon range icons Modified gravity potential shader to fade out at maximum depth
This commit is contained in:
parent
ab54f878f4
commit
cb4cb243e4
19 changed files with 541 additions and 112 deletions
|
|
@ -10,6 +10,7 @@ using Newtonsoft.Json;
|
|||
using UniRx;
|
||||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
using float2 = Unity.Mathematics.float2;
|
||||
using float3 = Unity.Mathematics.float3;
|
||||
|
||||
[RethinkTable("Galaxy"), MessagePackObject, JsonObject(MemberSerialization.OptIn)]
|
||||
|
|
@ -226,6 +227,9 @@ public class OrbitData : DatabaseEntry
|
|||
[JsonProperty("phase"), Key(3)]
|
||||
public float Phase;
|
||||
|
||||
[JsonProperty("phase"), Key(3)]
|
||||
public float2 FixedPosition = float2.zero;
|
||||
|
||||
// [JsonProperty("period"), Key(4)]
|
||||
// public float Period;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue