Documentation/Entity Types/Special/CollisionVolume.type
From NeoAxis 3D Engine Wiki
(Redirected from Documentation/Entity Types/Special/DynamicCollision.type)
Language: | ![]() ![]() |
Status: | Approved |
Description
CollisionVolume.type is used to create invisible obstacles. After adding this object to the map no physical agent will be able to move through it. Obstacles can also be switched on and off when you need it.
An example of the object check TPSArcadeDemo map.
Properties
Name | Description |
---|---|
class CollisionVolume | |
Active | When this is set to False the object is switched off and does not affect other objects. If this is set to True the object works as an obstacle for other objects. |
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 key — value pairs. It is used for user's needs. |
Type | Object type. It can not be changed. |
class MapObject | |
Position | Object position on the map. |
Rotation | Object rotation. The angle of rotation is set in degrees. |
Scale | Object scaling. |
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. |