R3d.Fixture:setCollideWithMaskBits

From GiderosMobile
Revision as of 14:30, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2019.10
Class: R3d.Fixture

Description

Sets the categories this fixture can collide with. <syntaxhighlight lang="lua"> r3d.Fixture:setCollideWithMaskBits(bits) </source>

Parameters

bits: (number) the sum of all the fixtures category bits this fixture can collide with

Example

<syntaxhighlight lang="lua"> </source>