[
    {
        "chan": "gps:agents",
        "events": [
            {
                "eventName": "move",
                "mappings": [
                    {
                        "id": "aid",
                        "assign": {
                            "position.x": "coords.x",
                            "position.z": "coords.y",
                            "position.y": "coords.z"
                        },
                        "tween": true,
                        "tweenDelay": 200
                    }
                ]
            }
        ]
    },
    {
        "chan": "agents:*",
        "events": [
            {
                "eventName": "age",
                "mappings": [
                    {
                        "id": "aid",
                        "assign": {
                            "material.color": "color"
                        }
                    }
                ]
            },
            {
                "eventName": "rotate",
                "mappings": [
                    {
                        "id": "aid",
                        "assign": {
                            "rotation.x": "facing.x",
                            "rotation.y": "facing.y",
                            "rotation.z": "facing.z"
                        },
                        "tween": true,
                        "tweenDelay": 500
                    }
                ]
            },
            {
                "eventName": "polarize",
                "mappings": [
                    {
                        "id": "aid",
                        "child": "head",
                        "assign": {
                            "material.color": "color"
                        }
                    }
                ]
            }
        ]
    }
]
