Real-Time Behavioral Control of Intelligent 3D Agents in Complex Synthetic Environment