Documentation/Entity Types/Base/Occluder.type

From NeoAxis Engine Wiki

Jump to: navigation, search
Go to higher level
Occluder.type

Description

Occluders are a part of the Portal System. Occluders are used as switches for portals. A typical example of an occluder is a door.

Occluders work the following way: A portal is considered switched off and is not processed as long as it wholly stays within an occluder. If a portal is wholly or partially located outside of the occluder, it is considered switched on.

You can create occluders directly on the map and then adjust them in application code or by means of Logic Editor.

However, it is more convenient to attach occluders to objects to make them move with them automatically. An example of such an object with an attached occluder is the Door.type in the "Data\Types\Dynamic\Door" folder.