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
|
|
@ -144,7 +144,10 @@ public class Zone
|
|||
}
|
||||
}
|
||||
|
||||
Orbits[orbitID].Position = GetOrbitPosition(orbit.Data.Parent) + pos;
|
||||
var parentPosition = Orbits[orbitID].Data.Parent == Guid.Empty
|
||||
? Orbits[orbitID].Data.FixedPosition :
|
||||
GetOrbitPosition(orbit.Data.Parent);
|
||||
Orbits[orbitID].Position = parentPosition + pos;
|
||||
_updatedOrbits.Add(orbitID);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue