Skip to content

Shape Boundaries in Physics Engine #2

Description

@basikthings

When shape boundaries are non-concave, the actual physics boundary is polygon bounding the entire entity instead. For example,

If shape is
"shape": [
{ "x": 0, "y": 0 },
{ "x": 0, "y": 10 },
{ "x": 1, "y": 10 },
{ "x": 1, "y": 1},
{ "x": 10, "y": 1 },
{ "x": 10, "y": 0 }
]
It looks like an L shape, but the represented physics is actually that of the bounding triangle shape.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions