-
Notifications
You must be signed in to change notification settings - Fork 13
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
CreatePolygonFromVertices needs to return body #15
Comments
FYI, by just adding |
Maybe the |
if that makes sense to do, it might be good to rename it, something like |
Honestly, |
Regardless of what is done to |
Another issue I found with I was able to fix this by adding |
The CreatePolygonFromVertices function creates the
body
object, but does not return it.phaser-box2d/src/physics.js
Line 1068 in f5f0681
return body;
line at the end of that function.The downstream issue that this is causing is that calling
CreatePhysicsEditorShape({worldId, key, url}).then(body => ...)
results inbody
beingundefined
.The text was updated successfully, but these errors were encountered: