Physics.P2.GearConstraint#game

game : Phaser.Game Local reference to game. Source code: physics/p2/GearConstraint.js (Line 26)

Physics.P2.FixtureList#setSensor()

setSensor(value, fixtureKey) Parameters Name Type Description value boolean sensor true or false fixtureKey string Only apply to the fixture with the given key Source code: physics/p2/FixtureList.js (Line 93)

Physics.P2.FixtureList#setMaterial()

setMaterial(material, fixtureKey) Parameters Name Type Description material Object The contact material for a fixture fixtureKey string Only apply to the fixture with the given key Source code: physics/p2/FixtureList.js (Line 108)

Physics.P2.FixtureList#setMask()

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)

Physics.P2.FixtureList#setCategory()

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)

Physics.P2.FixtureList#parse()

parse() Parser for the output of Phaser.Physics.P2.Body#addPhaserPolygon Source code: physics/p2/FixtureList.js (Line 182)

Physics.P2.FixtureList#init()

init() Source code: physics/p2/FixtureList.js (Line 38)

Physics.P2.FixtureList#getGroup()

getGroup(groupID) Accessor to get a group of fixtures by its group index. Parameters Name Type Description groupID number The group index. Source code: physics/p2/FixtureList.js (Line 170)

Physics.P2.FixtureList#getFixtures()

getFixtures(keys) Accessor to get either a list of specified fixtures by key or the whole fixture list Parameters Name Type Description keys array A list of fixture keys Source code: physics/p2/FixtureList.js (Line 123)

Physics.P2.FixtureList#getFixtureByKey()

getFixtureByKey(key) Accessor to get either a single fixture by its key. Parameters Name Type Description key string The key of the fixture. Source code: physics/p2/FixtureList.js (Line 158)