Box2D. Box2dKiematicObject

Box2D Kiematic Object - Box2d with a kinematic physics body

Constructor

new Box2dKiematicObject(posopt, sizeopt, tileInfoopt, angleopt, coloropt, renderOrderopt)

Create a LittleJS object with Box2d physics

Parameters:
NameTypeAttributesDefaultDescription
posVector2<optional>
sizeVector2<optional>
tileInfoTileInfo<optional>
anglenumber<optional>
0
colorColor<optional>
renderOrdernumber<optional>
0

Extends

  • Box2dObject