CARLA
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
UCarlaNavigationSubsystem Class Reference

Thin wrapper over the engine navigation system (UNavigationSystemV1) used by the server-side pedestrian navigation RPCs. More...

#include <CarlaNavigationSubsystem.h>

+ Inheritance diagram for UCarlaNavigationSubsystem:

Public Member Functions

bool GetRandomNavLocation (FVector &OutLocation) const
 Random point on the loaded navmesh, in world-local centimeters.
 
bool HasServerSideNavigation () const
 True iff the current world has a RecastNavMesh with valid nav data: the signal for clients that walker navigation runs server-side here.
 

Static Public Member Functions

static UCarlaNavigationSubsystem * Get (UWorld *World)
 

Detailed Description

Thin wrapper over the engine navigation system (UNavigationSystemV1) used by the server-side pedestrian navigation RPCs.

On World Partition maps the navmesh streams with the cells, so every query below operates on the currently loaded tiles only.

Definition at line 21 of file CarlaNavigationSubsystem.h.

Member Function Documentation

◆ Get()

static UCarlaNavigationSubsystem * UCarlaNavigationSubsystem::Get ( UWorld *  World)
inlinestatic

Definition at line 27 of file CarlaNavigationSubsystem.h.

Referenced by FCarlaServer::FPimpl::BindActions().

◆ GetRandomNavLocation()

bool UCarlaNavigationSubsystem::GetRandomNavLocation ( FVector &  OutLocation) const

Random point on the loaded navmesh, in world-local centimeters.

Definition at line 29 of file CarlaNavigationSubsystem.cpp.

◆ HasServerSideNavigation()

bool UCarlaNavigationSubsystem::HasServerSideNavigation ( ) const

True iff the current world has a RecastNavMesh with valid nav data: the signal for clients that walker navigation runs server-side here.

Definition at line 16 of file CarlaNavigationSubsystem.cpp.


The documentation for this class was generated from the following files: