Skip to content

possible bug for a special case in GJK? #6

@WaneOshin

Description

@WaneOshin

shouldnt these be ">" instead of ">=" ?
if not , then this method wont recognize the case where the origin is ON the simplex itself (i have tested).

gjk.cpp -> do_simplex_4 - >
if (Vector3.Dot(abc, ao) > 0.0) { plane_information |= 0x1; } if (Vector3.Dot(acd, ao) > 0.0) { plane_information |= 0x2; } if (Vector3.Dot(adb, ao) > 0.0) { plane_information |= 0x4; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions