An afraid-but-follow
example is available as XML and executes the following:
- sets two cubes as Minecraft mods - one
zombie
and onespiderman
- Cozmo will follow
spiderman
whenspiderman
gets farther than 15 cm - Cozmo will get
startled
whenzombie
gets closer than 20 cm
By moving cubes closer and farther away you can make Cozmo react on them. At the same time you can see all objects rendered in 3D scene.
To try this example copy afraid-but-follow.xml
to server/saves/
folder and click the load/folder
button - you'll see it in the list to open.
Visualization
Visualization with grid