Difference between revisions of "B2.Body:setBullet"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.09.6<br/> === Description === <br /> <source lang="lua"> = b2.Body:setBullet(flag,) </source> '''flag:''' (boolean) ''''''<br/>")
 
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2012.09.6<br/>
 
'''Available since:''' Gideros 2012.09.6<br/>
 +
'''Class:''' [[b2.Body]]<br/>
 +
 
=== Description ===
 
=== Description ===
<br />
+
Sets the body to behave as a bullet.
<source lang="lua">
+
<syntaxhighlight lang="lua">
= b2.Body:setBullet(flag,)
+
b2.Body:setBullet(flag)
</source>
+
</syntaxhighlight>
'''flag:''' (boolean) ''''''<br/>
+
 
 +
=== Parameters ===
 +
'''flag''': (boolean) sets the body to behave as a bullet<br/>
 +
 
 +
{{B2.Body}}

Latest revision as of 00:04, 1 May 2025