Kaim::BotInitConfig Class Reference

Kaim::BotInitConfig Class Reference

#include <bot.h>

Class Description

Functions

 BotInitConfig ()
 
void SetDefaults ()
 Sets all members to their default value. More...
 

Public Data Members

void * m_userData
 
Databasem_database
 Mandatory: you must provide a valid Database on which the Bot will move. More...
 
Ptr< DatabaseBindingm_databaseBinding
 The Databases where the Bot will be spatialized. More...
 
KyUInt32 m_startNewPathNavigationProfileId
 NavigationProfile that will be used in the GetAstarQuery() calls. More...
 
Vec3f m_startPosition
 
Vec3f m_startVelocity
 
Vec2f m_startFrontDirection
 
DynamicNavTag m_blockingNavTag
 NavTag used for the TagVolume triggered if Bot::SetBlocking(true) is called. More...
 

Member Function Documentation

void Kaim::BotInitConfig::SetDefaults ( )
inline

Sets all members to their default value.

After calling this method, you must set at least the mandatory m_database before using this BotInitConfig to initialize a Bot.

Member Data Documentation

DynamicNavTag Kaim::BotInitConfig::m_blockingNavTag

NavTag used for the TagVolume triggered if Bot::SetBlocking(true) is called.

A walkable NavTag being interpreted as forbidden by the TraverseLogic should preferably be used since it would allow bots to have a NavTriangle which is better for performance reasons if queries as to be made from or to this bot but by default it is an exclusive NavTag since the interpretation of NavTag depends upon the TraverseLogic.

Database* Kaim::BotInitConfig::m_database
Ptr<DatabaseBinding> Kaim::BotInitConfig::m_databaseBinding

The Databases where the Bot will be spatialized.

If set to nullptr, the Bot will use World default DatabaseBinding that spatializes on all Databases.

KyUInt32 Kaim::BotInitConfig::m_startNewPathNavigationProfileId

NavigationProfile that will be used in the GetAstarQuery() calls.

+ Examples:

The documentation for this class was generated from the following file:
  • gwnavruntime/world/bot.h