For the complete documentation index, see llms.txt. This page is also available as Markdown.

Scene metadata

Find guides, reference pages, and examples for giving Convai characters awareness of objects in your Unreal Engine level.

Scene metadata is how you give Convai characters awareness of the objects in your level. Add a UConvaiObjectComponent to any Actor — a door, a crate, a terminal — and every character in the level will know that object exists, what it is called, and what it does. Characters use this information when players ask about the environment around them.

For runtime mutations — adding objects, removing actors, setting conversation partners, and controlling attention — use the environment API on UConvaiChatbotComponent. See Managing the environment at runtime for the full method reference.

When the player looks at tagged objects, the Gaze attention system can promote them to the chatbot's current focus automatically. Complete scene metadata setup first, then follow Gaze attention quick start.

Last updated

Was this helpful?