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