PlanetGen quick start
This guide takes you from an empty level to a planet you can walk on. It assumes PlanetGen is installed.
1. Generate a planet
Section titled “1. Generate a planet”-
Drop a
BP_CLMPlanetinto your level. It is a Blueprint subclass ofACLMPlanet. -
In the Details panel, set Terrain Material to the included
M_Planet. You can use your own material later, as long as it reads the vertex colours (see the FAQ). -
Set Water Material to
M_PlanetWater. This is the depth-tinted ocean; keep Adaptive Water Tessellation on. -
Click Preview Planet in the Details panel. Terrain, foliage and water build in the editor, without entering Play.
-
Click Randomize Planet to roll a new seed and a new world.
2. Walk on it
Section titled “2. Walk on it”-
Use
BP_GravityJetpackCharacter(orBP_GravityCharacter) as your player pawn. To use your own Character Blueprint, reparent it toAPlanetGenGravityCharacter. -
There is nothing else to set up for gravity. With Provide Planet Gravity on (the default), each planet creates a spherical gravity field sized to its Gravity Radius.
-
Press Play. The character stands on the surface wherever you are on the planet, can hover with the jetpack, wades through shallow water and auto-engages the jetpack over deep water.
3. Try a ring world
Section titled “3. Try a ring world”-
Drop an
ACLMRingWorldinto your level. -
Set Planet Radius (the ring’s radius) and Ring Length. Both are in kilometres.
-
Assign your terrain material and click Preview.
Ring Inner Surface is on by default: terrain sits on the inside of the tube, gravity presses you outward and the world curves up overhead. Turn it off to build terrain on the outer surface instead. Noise layers, biomes, grass and water all work the same as on planets, and the gravity character walks a ring just like a planet.
4. Add an atmosphere
Section titled “4. Add an atmosphere”-
Make sure the level has a Sky Atmosphere, plus a Volumetric Cloud, Directional Light and Sky Light if you want clouds and correct ambient light.
-
On the planet, tick Enable Atmosphere and assign an Atmosphere Asset. The included
DA_Atmos_EarthLike,DA_Atmos_EarthLike10kmandDA_Atmos_EarthLike50kmare tuned for different planet sizes. -
Set Lighting Parameter Collection to
MPC_Planet, Far Halo Material toM_PlanetHaloand Far Cloud Material toM_PlanetCloudShell. The last two are what distant planets show instead of the full atmosphere. -
Press Play. The level’s Sky Atmosphere moves onto whichever planet you are nearest.
To see a working setup, open the PlanetsMap or MultiPlanetsMap demo level.
Where to next
Section titled “Where to next”- Features covers exclusion volumes, the actor spawner, climate biomes and multi-planet LOD.
- Troubleshooting covers floating grass, memory limits and night-side lighting.
