Options
All
  • Public
  • Public/Protected
  • All
Menu

Class b2BodyDef

Hierarchy

  • b2BodyDef

Implements

Index

Properties

active

active: boolean = true

allowSleep

allowSleep: boolean = true

angle

angle: number = 0

angularDamping

angularDamping: number = 0

angularVelocity

angularVelocity: number = 0

awake

awake: boolean = true

bullet

bullet: boolean = false

fixedRotation

fixedRotation: boolean = false

gravityScale

gravityScale: number = 1

linearDamping

linearDamping: number = 0

Readonly linearVelocity

linearVelocity: b2Vec2 = new b2Vec2(0, 0)

Readonly position

position: b2Vec2 = new b2Vec2(0, 0)

type

type: b2BodyType = b2BodyType.b2_staticBody

userData

userData: any = null

Generated using TypeDoc