B2.Shape

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.pngPlatform html5.pngPlatform winrt.pngPlatform win32.png
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.

Classes