Difference between revisions of "B2.Shape"

From GiderosMobile
(Created page with "__NOTOC__ '''Supported platforms:''' <br/> '''Available since:''' Gideros 2011.6<br/> === Description === <br /> A shape is used for collision detection.<br /> You can not cre...")
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Supported platforms:''' <br/>
+
'''Supported platforms:''' android, ios, mac, pc<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
Line 7: Line 7:
 
You can not create a `b2.Shape` instance directly, but instead you create `b2.CircleShape`, `b2.ChainShape` and `b2.PolygonShape` instances.<br />
 
You can not create a `b2.Shape` instance directly, but instead you create `b2.CircleShape`, `b2.ChainShape` and `b2.PolygonShape` instances.<br />
 
<br />
 
<br />
 +
 +
 
 +
 
 +
 
 +
 
 
{|-
 
{|-
 
| style="width: 50%;"|
 
| style="width: 50%;"|

Revision as of 09:57, 23 August 2018

Supported platforms: android, ios, mac, pc
Available since: Gideros 2011.6

Description


A shape is used for collision detection.
You can not create a `b2.Shape` instance directly, but instead you create `b2.CircleShape`, `b2.ChainShape` and `b2.PolygonShape` instances.



Methods

Events

Constants