mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Include old method signature just in case some mod somewhere calls it directly
This commit is contained in:
parent
05a9516cf4
commit
9d2f4f05f0
@ -157,7 +157,7 @@ namespace NewHorizons.Components.Quantum
|
||||
|
||||
astroObject.SetOrbitalParametersFromTrueAnomaly(orbitalParameters.eccentricity, orbitalParameters.semiMajorAxis, orbitalParameters.inclination, orbitalParameters.argumentOfPeriapsis, orbitalParameters.longitudeOfAscendingNode, orbitalParameters.trueAnomaly);
|
||||
|
||||
PlanetCreationHandler.UpdatePosition(gameObject, orbitalParameters, primaryBody, astroObject, true);
|
||||
PlanetCreationHandler.UpdatePosition(gameObject, orbitalParameters, primaryBody, astroObject);
|
||||
gameObject.transform.parent = null;
|
||||
|
||||
if (!Physics.autoSyncTransforms)
|
||||
|
||||
@ -910,6 +910,12 @@ namespace NewHorizons.Handlers
|
||||
return;
|
||||
}
|
||||
|
||||
public static void UpdatePosition(GameObject go, IOrbitalParameters orbit, AstroObject primaryBody, AstroObject secondaryBody)
|
||||
{
|
||||
// Keeping old method signature because its the kind of method I think something somewhere might call
|
||||
UpdatePosition(go, orbit, primaryBody, secondaryBody, true);
|
||||
}
|
||||
|
||||
public static void UpdatePosition(GameObject go, IOrbitalParameters orbit, AstroObject primaryBody, AstroObject secondaryBody, bool adjustZoomSpeed)
|
||||
{
|
||||
NHLogger.LogVerbose($"Placing [{secondaryBody?.name}] around [{primaryBody?.name}]");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user