Skip to content

Missing ability to set physics field mask #14

Description

@Touchgram

Touchgram core currently lacks physics support but that's coming soon. One reason for leaving it out is that it's a huge can of worms as to how far you want to take things.

The fieldBitMask is a UInt32 so could offer a way to enter a simple number including in hex notation.

Or, would it also be desirable to also let people define their own "mapping" and have a visual editor for bits?

The fieldBitMask value is then mapped against the categoryBitMask of any field nodes.

You can add multiple sources of attraction or repulsion on a SpriteKit scene and configure the emitter to be affected by some or all of them, using the bitmask.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions