Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shape Boundaries in Physics Engine #2

Open
basikthings opened this issue Mar 16, 2020 · 1 comment
Open

Shape Boundaries in Physics Engine #2

basikthings opened this issue Mar 16, 2020 · 1 comment

Comments

@basikthings
Copy link

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.

@klavins
Copy link
Member

klavins commented Mar 17, 2020

Hmm. Thanks. Not sure why that would be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants