mrnifnif
mrnifnif

Reputation: 208

Can collisionmode be set to nothing?

UiCollisionBehavior has four collision modes: 1. Items 2. Boundaries 3. Init(rawValue: UInt) 4. Everything

Is it possible to set collisionmode to nothing?

Upvotes: 0

Views: 44

Answers (1)

Xavier Lowmiller
Xavier Lowmiller

Reputation: 1401

UICollisionBehaviorMode is an option set, which means you can pass an 'empty array' ([]) if you don't want any options.

Upvotes: 1

Related Questions