Skip to content

Enemies should use CC2D as well? #104

@aidinzolghadr

Description

@aidinzolghadr

Hi,

Since all objects change the same Physics2D matrix for collisions upon entering Play mode, if one character, like player, set some layers for trigger under CC2D's Trigger Mask, they will be overridden by any other character like enemies having different config for the same thing.

For example currently Player has Layers 1, 2 and 3 set in it's Trigger Mask and Enemy has Layer 4 and when I launch the game and see Physics 2D matrix, I can see Player collision matrix overridden by Enemy's. Hope I've made myself clear. From

Is CC2D is designed with only main character using it in mind or am I missing something here? Any workarounds?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions