Difference between revisions of "B2.Shape"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Supported platforms:''' android, ios, mac, pc<br/>
+
'''<translate>Supported platforms</translate>:''' [[File:Platform android]][[File:Platform ios]][[File:Platform mac]][[File:Platform pc]]<br/>
'''Available since:''' Gideros 2011.6<br/>
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
 
A shape is used for collision detection.<br />
 
A shape is used for collision detection.<br />
You can not create a [[Special:MyLanguage/b2.Shape|b2.Shape]] instance directly, but instead you create [[Special:MyLanguage/b2.CircleShape|b2.CircleShape]], [[Special:MyLanguage/b2.ChainShape|b2.ChainShape]] and [[Special:MyLanguage/b2.PolygonShape|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 /></translate>
 
<br /></translate>
 
{|-
 
{|-

Revision as of 10:27, 24 August 2018

Supported platforms: File:Platform androidFile:Platform iosFile:Platform macFile:Platform 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