Skip to content

CreatePolygonFromVertices needs to return body #15

Description

@Vykri

The CreatePolygonFromVertices function creates the body object, but does not return it.

. There should be a 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 in body being undefined.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions