BaseModule
No Description Found
centerOfSolarSystem
Set this to true if you are replacing the sun with a different body. Only one object in a star system should ever
have this set to true.
gravityFallOff
How gravity falls off with distance. Most planets use linear but the sun and some moons use inverseSquared.
groundSize
Radius of a simple sphere used as the ground for the planet. If you want to use more complex terrain, leave this as
0.
hasFluidDetector
Is this planet able to detect fluid volumes? Disabling this means that entering a star or lava volume will not destroy this planet
May have adverse effects if anglerfish are added to this planet, disable this if you want those to work (they have fluid volumes in their mouths)
showMinimap
Do we show the minimap when walking around this planet?
soiOverride
An override for the radius of the planet's gravitational sphere of influence. Optional
surfaceGravity
The acceleration due to gravity felt as the surfaceSize. Timber Hearth has 12 for reference
surfaceSize
A scale height used for a number of things. Should be the approximate radius of the body.
Affected settings include: Base sector size, proxy body scaling, surface gravity
gravityVolumeLayer
Optional. The layer of the gravity volume.
Layers separate the priority system. The priority of volumes in one layer will not affect or override volumes in another. The highest priority volume in each layer will stack like normal.
The exception is layer 0. A higher-priority volume in layer 0 will override lower-priority volumes in ALL other layers. A lower-priority volume in layer 0 will stack with other layers like normal.
Ex: A player could be affected by the sun on layer 9 priority 0 and planet gravity on layer 3 priority 2. They would experience the gravity of both volumes since they are on different layers.
If there was a zero-g volume on layer 0 priority 1, since it is on layer 0 it will override the gravity from the sun (priority 0 which is less than 1) but they will still feel the
gravity of the planet (priority 2 is greater than 1). The zero-g volume will also still be applied because it is on a different layer.
Default value here is 3 which is planet gravity.
gravityVolumePriority
Optional. You can force this planet's gravity to be felt over other gravity/zero-gravity sources by increasing this number.
gravityAlignmentRadiusOverride
Optional. Overrides how far the player must be from the planet for their feet to automatically orient towards the ground.
pushable
Apply physics to this planet when you bump into it. Will have a spherical collider the size of surfaceSize.
For custom colliders they have to all be convex and you can leave surface size as 0.
This is meant for stuff like satellites which are relatively simple and can be de-orbited.
If you are using an orbit line but a tracking line, it will be removed when the planet is bumped in to.
hideProxy
Set this to true to have no proxy be generated for this planet.
This is a small representation of the planet that appears when it is outside of the regular Unity camera range.