Skip to content

b2Body_SetType(bodyId, type) doesn't work correctly #38

@krastec

Description

@krastec

There’s an error with if (originalType === b2BodyType.staticBody), and if I change it to b2BodyType.b2_staticBody I still get issues. It looks like b2Body_SetType is affecting other bodies in the world. I still can’t find a solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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