AsteroidBeltModule
No Description Found
amount
Amount of asteroids to create.
inclination
Angle between the belt and the equatorial plane of the planet.
innerRadius
Lowest distance from the planet asteroids can spawn
longitudeOfAscendingNode
Angle defining the point where the belt rises up from the planet's equatorial plane if inclination is nonzero.
maxSize
Maximum size of the asteroids.
minSize
Minimum size of the asteroids.
outerRadius
Greatest distance from the planet asteroids can spawn
procGen
How the asteroids are generated, unless you supply a detail yourself using "assetBundle" and "path"
randomSeed
Number used to randomize asteroid positions
assetBundle
You can use this to load a custom asset or ingame object, instead of using ProcGen. It will be scaled by "minSize" and "maxSize", so ideally it should be near a 1 meter radius.
This is a relative filepath to an asset-bundle to load the prefab defined in `path` from.
path
You can use this to load a custom asset or ingame object, instead of using ProcGen. It will be scaled by "minSize" and "maxSize", so ideally it should be near a 1 meter radius.
This is either the path in the scene hierarchy of the item to copy or the path to the object in the supplied asset bundle.
gravity
Surface gravity of the asteroids.
randomOrientation
Should the detail of the asteroid be randomly oriented, or should it point towards the center.