struct

SmartObjectComponent

A world object an agent can claim and use — a bench, a vending machine, a window to look out of (UE5 SmartObjects). The object advertises an activity and N slots laid out along its local X axis; an agent claims one slot, walks to it, uses it for Use Duration and releases it, after which the slot rests for Cooldown. Claims are exclusive, so two agents never sit on one seat.

Module
AINavigation
Header
#include "AINavigation/SmartObjectComponent.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Properties

TypeNameDescription
boolenabledDefault true.
std::stringactivityWhat using this object means ("Sit", "Inspect", "Hide"). Queries filter on it; empty matches only an empty query. Default "Use".
int32_tslotCountDefault 1.
floatslotSpacingDistance between neighbouring slots along the object's local X. Default 0.8f.
Vec3slotOffsetWhere a user stands, in the object's local space, before slot spacing. Default Vec3(0.0f, 0.0f, 0.6f).
floatuseDurationDefault 4.0f.
floatcooldownDefault 0.0f.
std::vector<EntityID>claimantsPer slot: the claiming agent (INVALID_ENTITY = free) and the seconds left before a released slot can be claimed again.
std::vector<float>cooldownLeft

Constructors

SignatureNameDescription
SmartObjectComponent() = defaultSmartObjectComponent

Function details

SmartObjectComponent

C++
SmartObjectComponent() = default
Generated from AINavigation/SmartObjectComponent.h via ainavigation.json · Oct 27, 2026Version 1.0.0