Skip to content

Support for compound shapes #44

@BlueNebulaDev

Description

@BlueNebulaDev

I need to create a 2d body made by a circle and a rectangle. According to the documentation on the website I should use a compound collider for this, correct?

I've been looking into how to use a compound shape with rapier2d, but couldn't find much: the "Compound = 8" definition in the typescript source is commented out and there's no constructor or function to handle them.

Would it be possible to port support to compound shapes?

Otherwise what's the recommended way to create my shape?

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