Skip to content

Colliding

Bi-entity Condition Type

Checks if the actor entity is colliding with the target entity.

Type ID: eggolib:colliding

Fields

Field Type Default Description
offset Vector optional If specified, this offset will be applied to the actor entity's bounding box.

Examples

"bientity_condition": {
    "type": "eggolib:colliding"
}
"bientity_condition": {
    "type": "apoli:or",
    "conditions": [
        {
            "type": "eggolib:colliding",
            "offset": {
                "x": 0.5,
                "y": 0.0,
                "z": 0.5
            }
        },
        {
            "type": "eggolib:colliding",
            "offset": {
                "x": -0.5,
                "y": 0.0,
                "z": -0.5
            }
        }
    ]
}