LittleJS 1.28.0

Box2D

Box2dKinematicObject

Box2D Kinematic Object - Box2d with a kinematic physics body

Extends Box2dObject

Constructor

new Box2dKinematicObject(pos, size, tileInfo, angle, color, renderOrder)box2d.js:1217

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