Hello everyone,
Populating your world with multiple AI characters brings 3D environments to life, but driving seamless, intent-aware voice interaction across a shared scene requires precise targeting.
In Part 1 of our Multi-Character Sessions tutorial series for Unity, we bring three distinct Convai AI avatars (Sophia, Ethan, and Marcus) into a single scene and demonstrate how to route player dialogue dynamically based on gaze, proximity, and direct targeting.
What We Cover in Part 1
We walk through setting up your scene and configuring character targeting using the Convai Manager:
-
Multi-Character Setup: Assign unique Character IDs to multiple AI avatars within a shared Unity scene. -
Look At Selection: Automatically route voice input based on where the player is looking in the 3D space. -
Proximity Selection: Dynamically target characters based on their physical distance from the player. -
Fluid Conversation Switching: Transition between individual AI characters in real time without dropping conversation state.
(Note: In Part 2, we will expand this workflow to include all-to-all multi-character awareness, allowing AI characters to perceive and react to ambient conversations happening around them!)
Resources & Documentation
Ready to populate your Unity scenes with multiple interactive AI characters? Check out the resources below to get started:
-
Get the Plugin: Convai SDK for Unity on Asset Store -
Multi-Character Feature Guide: Multi-Character Sessions Documentation -
Prerequisite Guide: Convai Unity Setup Tutorial -
Start Building: Sign up at Convai.com to create interactive AI characters.
Whether you’re building living RPG worlds, multiplayer lobbies, or high-fidelity training simulations, multi-character sessions deliver true ambient realism. Drop your technical questions or project showcases in the replies below!
Happy developing!