LittleJS 1.30.1

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:1231

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