Class OBBToleranceCollider_f

    • Constructor Detail

      • OBBToleranceCollider_f

        public OBBToleranceCollider_f​(long cPtr,
                                      boolean cMemoryOwn)
      • OBBToleranceCollider_f

        public OBBToleranceCollider_f()
        constructor
    • Method Detail

      • setTolerance

        public void setTolerance​(float tolerance)
        set the tolerance of the collider
        Parameters:
        tolerance - [in] meters
      • collides

        public boolean collides​(OBB_f obbA,
                                OBB_f obbB,
                                Transform3Df aTb)
        test if obbA is closer than tolerance to obbB. The aTb transform describe
        obbB relative to obbA's coordinate frame. This method is approximate and the obb's
        may lie up to sqrt(tolerance^2+tolerance^2) away from each other.
      • collides

        public boolean collides​(OBB_f obbA,
                                OBB_f obbB,
                                Transform3Df aTb,
                                double tolerance)
        test if obbA is closer than tolerance to obbB. The aTb transform describe
        obbB relative to obbA's coordinate frame. This method is approximate and the obb's
        may lie up to sqrt(tolerance^2+tolerance^2) away from each other.