Documentation/Entity Types/Special/MapChangeRegion.type

From NeoAxis 3D Engine Wiki

Jump to: navigation, search
Go to higher level


MapChangeRegion is used to transport the character from map to map. When the character enters the MapChangeRegion zone, a new map is loaded to which this character will be transferred.



Name Description
class Entity
Components List of attached components.
LogicClass Reference to the Logic Editor class. Read more about how to work with the Logic Editor class.
Name Object name.
Tags User defined information. Defined as keyvalue pairs. It is used for user's needs.
Type Object type. It can not be changed.
class MapChangeRegion
MapName The name of the map to which the character will be transferred.
SpawnPointName The name of the spawn point where character will be created.
class MapObject
Position Object position on the map.
Rotation Object rotation. The angle of rotation is set in degrees.
Scale Object scaling.
class Region
CheckType The way how the object's presence in a region is checked.
  • Bounds - the object is considered within a region when partially in it (by object bounds),
  • Center - the object is considered within a region when its center is within it.
Filter Objects to check their presence.
  • All - All objects are checked for being within a region,
  • OnlyBodies - Only objects checked which are have physical bodies,
  • OnlyDinamicBodies - Only objects marked as dynamic are checked and have physical bodies.
ShapeType The type of the region object. You can choose between Box, Sphere and Capsule.
Map Editor
AutoVerticalAlignment Automatical alignment by height mode. Allows to set the value among 4 variants: None (without alignment ), ByBounds (by dimensions), ByBoundsWithRotation (by dimension with possible rotation), ByCenter (by center).
Layer The layer of the map these objects belong to.