OriginCellChangeStrategy Enumeration

public enum OriginCellChangeStrategy

Specifies a strategy for changing the Origin Cell of a World.

Fields

Name Value Description
ShiftWorld 0 Changing the Origin Cell using this method involves manually shifting the objects using a WorldShifter class. You can either use one of the default World Shifters provided, or create your own to enable more fine tuned shifting, which may be necessary to mesh with your particular game (you'll be able to better factor in physics, for exmaple).
Duplicate World 1 Changing the Origin Cell using this method involves rebuilding the entire world at the origin, and then moving the player once the duplicate world is loaded. This method avoids the issues with moving objects (so long as a suitable Player Mover is used), however as the world is effectively duplicated, the memory used during the origin shift is double what the normal memory use of your game is, so may not be suitable for your game. It also introduces the potential for overlapping assets, as the duplicated new world and the old world will exist (and be visible) at the same time for a short period.