Skip to content

CreatePolygonFromVertices needs to return body #15

@Vykri

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.

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