Documentation/Entity Types/Special/WaterPlane.type

From NeoAxis Engine Wiki

Jump to: navigation, search
Go to higher level
WaterPlane 002.jpg

Description

WaterPlane allows you to create a water surface on the map. Supports reflection and interaction with physical objects.

Physical objects can swim or sink.

Customization

For adding water surface to the map need to do the following steps:

  • In folder Special choose WaterPlane and place it on the editors workspace.
  • Set up the length/width (property Size) and position it on map (property Position).
  • Adjust color (DeepColor and ShallowColor) and other properties.

Properties

Title Description
DeepColor Responsible for the color of water. This is where the main color is specified.
ShallowColor Responsible for the shade of water. This gives an additional nuance.
PhysicsHeight This parameter indicates at what depth the water acts on objects. If the parameter is 1 and the object is located at a depth of 5, then the water will not act on an object at all. When this parameter is 0, water has no effect on the objects.
Size This parameter adjusts the size of the water. When do you set it to 1000x1000, it will almost flood the entire surface of the map.
Position This parameter adjusts the location of water on the map (1st, 2nd number - width and length, 3rd number - height).
Reflection Level This parameter controls the object which will water reflect. Starting from the "OnlySky" and going to the "ReflectAll".
RenderQueueGroup This parameter is responsible for the order in which game objects draw.