B2.Shape: Difference between revisions
From GiderosMobile
No edit summary |
removed language stuff |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
<!-- GIDEROSOBJ:b2.Shape --> | <!-- GIDEROSOBJ:b2.Shape --> | ||
''' | '''Supported platforms:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]][[File:Platform html5.png]][[File:Platform winrt.png]][[File:Platform win32.png]]<br/> | ||
''' | '''Available since:''' Gideros 2011.6<br/> | ||
=== | |||
=== Description === | |||
A shape is used for collision detection. | A shape is used for collision detection. | ||
You can not create a | |||
You can not create a '''b2.Shape''' instance directly, but instead you create [[b2.ChainShape]], [[b2.CircleShape]], [[b2.EdgeShape]] and [[b2.PolygonShape]] instances. | |||
=== Classes === | |||
=== | <div style="column-count:2;-moz-column-count:2;-webkit-column-count:2"> | ||
[[b2.ChainShape]]<br/> | |||
[[b2.CircleShape]]<br/> | |||
[[b2.EdgeShape]]<br/> | |||
[[b2.PolygonShape]]<br/> | |||
</div> | |||
---- | |||
*'''[[LiquidFun]]''' | |||
Latest revision as of 03:28, 27 June 2021
Supported platforms: ![]()
![]()
![]()
![]()
![]()
![]()
![]()
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.ChainShape, b2.CircleShape, b2.EdgeShape and b2.PolygonShape instances.