Parameter | Description |
---|---|
bitIndicies | The indices of the bits to set in the mask. An index must be in the range [0, 63]. |
Create a PhysicsMask by specifying multiple bits to set (1).
Parameter | Description |
---|---|
layerMask | The LayerMask to use. |
Create a PhysicsMask from a LayerMask. A UnityEngine.LayerMask is only 32-bits wide so the PhysicsMask will have the upper 32-bits set to zero.