milad10reported this suggestion
Description
It would be useful if the boundingBoxesOverlap condition could support checking a specific ModelEngine sub-hitbox, such as ob_hitbox, instead of only using the entity's main hitbox.
Use Case
When working with ModelEngine models that have multiple sub-hitboxes, I want to check whether another entity overlaps with a specific sub-hitbox rather than the entity's main bounding box. For example, being able to specify a hitbox like this:
- boundingBoxesOverlap{hitbox=ob_hitbox} true
The exact syntax could be different depending on the existing implementation.
Expected Behavior
- Allow specifying a particular ModelEngine sub-hitbox by name.
- Check whether the specified sub-hitbox overlaps with the target entity's bounding box.
- Preserve the current behavior when no specific sub-hitbox is provided.
This would make it much easier to implement precise collision detection for custom models without relying on the entity's main hitbox.