B2.CircleShape:set: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "</source" to "</syntaxhighlight"
Line 8: Line 8:
<source lang="lua">
<source lang="lua">
b2.CircleShape:set(centerx,centery,radius)
b2.CircleShape:set(centerx,centery,radius)
</source>
</syntaxhighlight>


=== Parameters ===
=== Parameters ===

Revision as of 15:57, 12 July 2023


Available since: Gideros 2011.6
Class: b2.CircleShape

Description

Sets the center point and radius of this instance. <source lang="lua"> b2.CircleShape:set(centerx,centery,radius) </syntaxhighlight>

Parameters

centerx: (number, optional) the x coordinate of the center
centery: (number, optional) the y coordinate of the center
radius: (number, optional) the radius




LiquidFun