Skip to content

HasCollision

Whether the server holds the level’s collision geometry.

true when the operator exported the level’s geometry and server.toml names it ([validation] collision, the collision guide): RayCast answers, IsLineOfSight can say no, the floor under a player counts as the ground of the terrain check. Without it the three functions answer nil, true and nil.

HasCollision()

true when the geometry is loaded

if not HasCollision() then Log("no collision geometry: rays answer nothing") end

RayCast · IsLineOfSight · GetGroundZ · the The world - clock, weather, terrain, the navmesh, the geometry group of the index