B2.Fixture:setSensor: Difference between revisions
From GiderosMobile
m Text replacement - "</source" to "</syntaxhighlight" |
m Text replacement - "<source" to "<syntaxhighlight" |
||
| Line 6: | Line 6: | ||
=== Description === | === Description === | ||
Sets if this fixture is a sensor. | Sets if this fixture is a sensor. | ||
< | <syntaxhighlight lang="lua"> | ||
b2.Fixture:setSensor(sensor) | b2.Fixture:setSensor(sensor) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 15:57, 12 July 2023
Available since: Gideros 2011.6
Class: b2.Fixture
Description
Sets if this fixture is a sensor.
b2.Fixture:setSensor(sensor)
Parameters
sensor: (boolean) is sensor