Skip to content

World Tab

Fynn9563 edited this page Jan 28, 2026 · 6 revisions

World Tab

Video Tutorial

Coming soon - video tutorial placeholder

The World tab manages your scene's central hub and atmosphere system.

StrangeHub

The StrangeHub is the central manager for all Strange Toolkit features in your world. Every world needs exactly one.

Creating a Hub

  1. Open the World tab
  2. If no hub exists, click Create StrangeHub
  3. A new GameObject named "StrangeHub" will be created

Hub Status

The toolkit shows whether a hub is present:

  • Green checkmark - Hub found and linked
  • Warning - No hub in scene

Atmosphere Presets

Atmosphere presets let you define multiple environment configurations that players can switch between at runtime.

What's in a Preset?

Each atmosphere preset contains:

  • Name - Display name for the preset
  • Is Default - Whether this preset loads on world start (only one can be default)
  • Skybox Material - The skybox to display
  • Use Fog - Enable/disable fog for this preset
  • Fog Color - Color of the fog (if enabled)
  • Fog Density - How thick the fog is (if enabled)
  • Linked Root - A GameObject that toggles on when this atmosphere is active

Adding Presets

  1. Click Add Preset in the Atmosphere Presets section
  2. Configure each field:
    • Assign a skybox material
    • Optionally enable fog and set color/density
    • Optionally link a root GameObject (useful for lighting changes)
  3. Mark one preset as "Default"

Preview Mode

Click the Preview button next to any preset to see how it looks in the editor without committing changes.

Removing Presets

Click the X button next to a preset to remove it.

Atmosphere Switches

An Atmosphere Switch is an in-world object that players can interact with to cycle through atmospheres.

Creating a Switch

  1. Set up at least one atmosphere preset
  2. Click Create Atmosphere Switch
  3. A sphere with the StrangeAtmosphereSwitch component will be created
  4. Position it in your world where players can reach it

How It Works

When a player interacts with the switch:

  1. The hub cycles to the next atmosphere
  2. Skybox changes
  3. Fog updates (if configured)
  4. Linked root objects toggle

Object Cleanup

The cleanup system tracks objects that should return to their original positions.

Use Cases

  • Pickup objects that players drop
  • Props that get moved during gameplay
  • Any object that needs position reset

Setting Up Cleanup

  1. Add objects to the cleanupProps array on StrangeHub
  2. The hub will track their initial positions
  3. Call cleanup methods at runtime to restore positions

Best Practices

Atmosphere Design

  • Keep skybox materials optimized (reasonable resolution)
  • Use fog sparingly on Quest
  • Link root objects for complex lighting setups (different light rigs per atmosphere)

Hub Placement

  • Place the StrangeHub at the scene root
  • Don't parent it to moving objects
  • Keep it active at all times

Multiple Atmospheres

  • Test all atmosphere transitions
  • Ensure smooth visual handoff between presets
  • Consider player location when placing switches

Clone this wiki locally