mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
docs and comments
This commit is contained in:
parent
edeeb6f9ec
commit
41285823ca
@ -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;
|
||||
|
||||
@ -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]
|
||||
|
||||
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user