Difference between revisions of "B2.Shape"

From GiderosMobile
Line 2: Line 2:
 
'''Supported platforms:''' android, ios, mac, pc<br/>
 
'''Supported platforms:''' android, ios, mac, pc<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
 
A shape is used for collision detection.<br />
 
A shape is used for collision detection.<br />
Line 9: Line 9:
 
{|-
 
{|-
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
=== Methods ===
+
=== <translate>Methods</translate> ===
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
=== Events ===
+
=== <translate>Events</translate> ===
=== Constants ===
+
=== <translate>Constants</translate> ===
 
|}
 
|}

Revision as of 07:26, 24 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