10.9.6.3.1. Agent Control
10.9.6.3.1.1. Overview
ORC currently supports controlling two different agents: characters and Nova Carter robots. The behaviors of the agents can be randomized by ORC.
This section will talk about what commands are supported for each agent and what could be randomized.
ORC UI provides command editors under the agent setting panel, which allows the user to easily edit the commands for each agent and control the behaviors for the agents in the simulation.
10.9.6.3.1.2. Character
Character Behavior control is based on the Omni.Anim.People extension. For a more detailed guide, please check out official Omni.Anim.People documentation. This guide will only cover the commands that can be randomized
10.9.6.3.1.2.1. GoTo
GoTo moves the character to a location. GoTo can be followed by a single point or a sequence of points, the last point must specify the ending rotation the character should have upon reaching its destination.
You can use “_” for ending rotation if you would prefer to not set a rotation. When a sequence of points is given, the character will cross every point. If Navmesh Navigation and Dynamic Obstacle Avoidance is on then the character will try to avoid both static and dynamic obstacles.
example:
female_adult_police_03 GoTo 10 10 0 90
10.9.6.3.1.2.2. Idle
Idle makes the character stand still. Idle takes a duration value and performs the action for that duration.
example:
female_adult_police_03 Idle 10
10.9.6.3.1.2.3. LookAround
LookAround makes the character stand in the same spot, while moving its head from left to right. LookAround takes a duration value and performs the action for that duration.
example:
female_adult_police_03 LookAround 10
10.9.6.3.1.3. Robot
10.9.6.3.1.3.1. GoTo
GoTo command will move the robot from its current location to a target location.
The command expects the X Y Z world coordinate of the target location.
Example:
Carter_01 GoTo 10.02 5.9 0
10.9.6.3.1.3.2. Idle
Idle command will make the robot stay where it is for a given duration. It can be combined with the GoTo command to make the robot go to a position, stay there for a while, and then go to another position.
This command expects a duration in second as the input.
Example:
Carter_01 Idle 5