Skip to content

2D collision detection - Circle Collision looks incorrect #39483

@earthiverse

Description

@earthiverse

MDN URL

https://developer.mozilla.org/en-US/docs/Games/Techniques/2D_collision_detection

What specific section or headline is this issue about?

Circle Collision

What information was incorrect, unhelpful, or incomplete?

The circles are not colliding, but are green (which indicates they are colliding).
Image

What did you expect to see?

Blue circle

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

Reproduced in Firefox, Chrome, and Safari.

MDN metadata

Page report details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions