Docs

WaterExclusionComponent

The data behind a WaterExclusion. In Lua, get it with exclusion:getWaterExclusionComponent().

Properties

Writing a component field

Some fields take effect only once the matching needUpdate… flag is set too. See Writing components directly.

Name Languages
shape C++ | Lua
center C++ | Lua
size C++ | Lua
wakeFoam C++ | Lua
wakeWaves C++ | Lua
aabb C++ | Lua (read-only)
worldAABB C++ | Lua (read-only)

center and size place a BOX or SPHERE shape. A HULL is built from the entity's meshes. wakeFoam and wakeWaves are the wake it leaves while it moves.