Classes
c_navgrid

c_navgrid

Members

  • min_grid_pos: vec3
  • max_grid_pos: vec3
  • collision_map: number
  • sampled_heights: number
  • x_cell_count: number
  • y_cell_count: number
  • cell_size: number

Functions

get_collision

ArgumentTypeRequired
positionvec3+
local collision_flag = g_navgrid:get_collision(g_local.position)

is_wall

ArgumentTypeRequired
positionvec3+
local point_is_in_wall = g_navgrid:is_wall(g_local.position)

is_bush

ArgumentTypeRequired
positionvec3+
local in_bush = g_navgrid:is_bush(g_local.position)

is_building

ArgumentTypeRequired
positionvec3+
local in_building = g_navgrid:is_building(g_local.position)

is_river

ArgumentTypeRequired
positionvec3+
local in_river = g_navgrid:is_river(g_local.position)

is_bush

ArgumentTypeRequired
positionvec3+
local is_bush = g_navgrid:is_bush(g_local.position)

is_river

ArgumentTypeRequired
positionvec3+
local is_river = g_navgrid:is_river(g_local.position)

is_building

ArgumentTypeRequired
positionvec3+
local is_building = g_navgrid:is_building(g_local.position)

get_height

ArgumentTypeRequired
positionvec3+
local height = g_navgrid:get_height(g_local.position)