Skip to content

Does it work with rotated rectangles? #31

@xescugc

Description

@xescugc

I was wondering if it can detect collisions of rotated rectangles.

I see that it has Projections(needed for this specific usecase) but i don't see clearly on the documentation if that specific usecase can be solved or if it needs more than one call to solve, meaning is not as easy as

    if intersection, ok := rect.Intersection(circle); ok {
        fmt.Println("They're touching! Here's the data:", intersection)
    }

Or maybe it is and I cannot find it on the docs hehe 🤷

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