Difference between revisions of "B2.Fixture:setSensor"

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.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
b2.Fixture:setSensor(sensor)
 
b2.Fixture:setSensor(sensor)
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 16: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




LiquidFun