HitboxManager OverlapBox not functioning properly?

Options

When using OverlapBox the expected behavior assumed to be similar to Physics.OverlapBox, but when provided with rotation the Y-axis the extents of the box seems to get faulty, does the expected behavior defer from Unity physics library?

Best Answer

  • DanielDantas
    edited April 2022 Answer ✓
    Options

    UPDATE: I was able to reproduce and fix an issue with OverlapBox when the box is rotated. The fix will be available in the next nightly build. Thanks for reporting!


    UPDATE: The fix is now available on 1.1.0 RC Nightly Build 448

Answers

  • DanielDantas
    edited March 2022
    Options

    Hi @Aymanisml,

    No, the expected behaviour does not differ from Unity's Physics.OverlapBox.

    Could you elaborate on what is the fault observed and how I can reproduce it? Thanks in advance!

  • DanielDantas
    edited April 2022 Answer ✓
    Options

    UPDATE: I was able to reproduce and fix an issue with OverlapBox when the box is rotated. The fix will be available in the next nightly build. Thanks for reporting!


    UPDATE: The fix is now available on 1.1.0 RC Nightly Build 448

  • Aymanisml
    Options

    Great much appreciated