Can collisionmode be set to nothing?

44 views Asked by At

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

Is it possible to set collisionmode to nothing?

1

There are 1 answers

0
Xavier Lowmiller On BEST ANSWER

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