Skip to content

Making P2 body on a Rope object fails (no anchor) #1885

@standardgaussian

Description

@standardgaussian

Rope is supposed to be compatible with the physics systems in Phaser, but the Phaser.Rope object has no "anchor" member variable, which P2 attempts to set when using enableBody.

Either Rope needs to create an anchor for P2 to see, or enableBody needs to check if the anchor exists before attempting to move it.

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