setMask(bit, fixtureKey)
Parameters
| Name | Type | Description |
|---|---|---|
bit | number | The bit to set as the collision mask |
fixtureKey | string | Only apply to the fixture with the given key |
- Source code: physics/p2/FixtureList.js (Line 78)
setMask(bit, fixtureKey)
| Name | Type | Description |
|---|---|---|
bit | number | The bit to set as the collision mask |
fixtureKey | string | Only apply to the fixture with the given key |
Please login to continue.