docs and comments

This commit is contained in:
JohnCorby 2023-08-10 17:45:03 -07:00
parent edeeb6f9ec
commit 41285823ca
4 changed files with 5 additions and 3 deletions

View File

@ -52,7 +52,7 @@ namespace NewHorizons.Builder.Props
neutralSlot._attractive = true;
neutralSlot._muteAudio = true;
nhShuttleController._neutralSlot = neutralSlot;
// TODO: at some point delay rigidbody parenting so we dont have to find orb via references. mainly to fix orbs on existing details
// TODO: at some point delay rigidbody parenting so we dont have to find orb via references. mainly to fix orbs on existing details and rafts not rotating with planets
_orbPrefab = shuttleController._orb.gameObject?.InstantiateInactive()?.Rename("Prefab_QM_Shuttle_InterfaceOrbSmall")?.DontDestroyOnLoad();
nhShuttleController._orb = _orbPrefab.GetComponent<NomaiInterfaceOrb>();
nhShuttleController._orb._sector = nhShuttleController._interiorSector;

View File

@ -19,7 +19,8 @@ public class AddPhysics : MonoBehaviour
[Tooltip("The radius that the added sphere collider will use for physics collision.\n" +
"If there's already good colliders on the detail, you can make this 0.")]
public float Radius = 1f;
[Tooltip("If true, this detail will stay still until it touches something.")]
[Tooltip("If true, this detail will stay still until it touches something.\n" +
"Good for zero-g props.")]
public bool SuspendUntilImpact;
[NonSerialized]

View File

@ -196,7 +196,7 @@ namespace NewHorizons.Components.Stars
// Some effects use Locator.GetSunTransform so hopefully its fine to change it
Locator._sunTransform = transform;
// TODO?: maybe also turn of star controller stuff (mainly proxy light) since idk if that can handle more than 1 being on
// TODO?: maybe also turn off star controller stuff (mainly proxy light) since idk if that can handle more than 1 being on
}
}
}

View File

@ -77,6 +77,7 @@ namespace NewHorizons.External.Modules.Props
/// <summary>
/// If true, this detail will stay still until it touches something.
/// Good for zero-g props.
/// </summary>
public bool physicsSuspendUntilImpact;