LittleJS 1.28.0

Box2D

Box2dStaticObject

Box2D Static Object - Box2d with a static physics body

Extends Box2dObject

Extended by Box2dTileLayer

Constructor

new Box2dStaticObject(pos, size, tileInfo, angle, color, renderOrder)box2d.js:1195

Create a LittleJS object with Box2d physics

pos Vector2 optional
size Vector2 optional
tileInfo TileInfo optional
angle number optional, default 0
color Color optional
renderOrder number optional, default 0

Inherited from Box2dObject

Inherited from EngineObject