Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Optionally, the The toolkit includes an Igloo Player System which can be used to control the movement of the 360 camera. Alternatively, you could can also use your own player system and set the 360 camera to follow your player, however, the benefit of using the Igloo System is that it supports gyroscope-enabled devices such as the Steam and Vive controllers. This makes controlling the player very intuitive while standing inside an igloo as can be seen here. https://drive.google.com/open?id=0B4BAsDcbBoGhUDZielNMSFlCRTg

The Player System example scene shows how to configure the two methods

Igloo Player

By default, the Igloo Player system is disabled in the Igloo settings file. There are two ways to enable the Igloo Player.

When assigned the Igloo player system will be disabled.

...

  1. Edit the IglooSettings.xml file

Open the IglooSettings.xml file found in the root of your Unity project. The file is autogenerated the first time you run Unity with the IglooManager prefab in the scene.

...

Set usePlayer to True and save.

Image Added

  1. Enable IglooPlayer during runtime.

Run the Scene, then press the ‘Follow Player' button on the ‘Example' GameObject. When the game is stopped the player settings will be saved with usePlayer enabled.

...

Follow Object

The camera can also be set to not use the Igloo Player system and instead follow another object in the Scene, such as your own player system or an object on an animation path.

Assign a GameObject to the ‘Follow Object’ property of the IglooManager prefab.

...

The Igloo Example script has some code to demonstrate how to switch between the two modes during run time.