Prevent Entity Collision
Prevents the entity that has the power from colliding with other entities.
Type ID: origins:prevent_entity_collision
Note
In the context of this power type, the 'actor' entity is the entity that has the power whilst the 'target' entity is the entity that was collided with.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
bientity_condition |
Bi-entity Condition Type | optional | If specified, the collision will only be prevented if this condition is fulfilled by either or both 'actor' and 'target' entities. |
Examples
{
"type": "origins:prevent_entity_collision"
}
This example will prevent the entity that has the power from colliding with other entities.
{
"type": "origins:prevent_entity_collision",
"bientity_condition": {
"type": "origins:owner"
}
}
This example will prevent the entity that has the power from colliding with tamable entities that are owned by the said entity.