How do I have layer phycic?

  • Hi!

    How can you have your own collision for each layer ?!

    For example, a physical object in layer a cannot collide with a physical object in layer b ?!

    Thanks for any ideas! (c2 / c3)

    Tagged:

  • construct.net/en/make-games/manuals/construct-3/behavior-reference/solid

    Tags

    An optional list of tags to apply to the Solid, separated by spaces. This is referenced by the Set solid collision filter action, allowing collisions to be enabled and disabled with different sets of solids.

    Set solid collision filter

    Enable or disable collisions with the Solid behavior according to tags. Specify tags using a string of space-separated tag names. In Inclusive mode, collisions are only enabled with solids that match any of the given tags; if no tags are specified, collisions are disabled with all solids. In Exclusive mode, collisions are disabled with solids that match any of the given tags; if no tags are specified, collisions are enabled for all solids (the default).

    For each objext on layer a, set solid tags to "a", ect.

  • construct.net/en/make-games/manuals/construct-3/behavior-reference/solid

    > Tags

    > An optional list of tags to apply to the Solid, separated by spaces. This is referenced by the Set solid collision filter action, allowing collisions to be enabled and disabled with different sets of solids.

    > Set solid collision filter

    > Enable or disable collisions with the Solid behavior according to tags. Specify tags using a string of space-separated tag names. In Inclusive mode, collisions are only enabled with solids that match any of the given tags; if no tags are specified, collisions are disabled with all solids. In Exclusive mode, collisions are disabled with solids that match any of the given tags; if no tags are specified, collisions are enabled for all solids (the default).

    But about physics?!

    For each objext on layer a, set solid tags to "a", ect.

  • For physics you'll need a separate set of objects for each layer, with the proper collisions between objects enabled.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • For physics you'll need a separate set of objects for each layer, with the proper collisions between objects enabled.

    Thanks

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)