Invert (Bi-Entity Action Type)
Runs a bi-entity action with the actor and the target swapped.
Type ID: apoli:invert
Fields
| Field | Type | Default | Description |
|---|---|---|---|
action | Bi-entity Action Type | required | The bi-entity action to run with the actor and target swapped. |
Examples
"bientity_action": {
"type": "apoli:invert",
"action": {
"type": "apoli:add_velocity",
"z": -2
}
}This pulls the actor toward the target.