Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BodyOptions

Hierarchy

  • BodyOptions

Index

Properties

Optional angle

angle: number

Optional canSleep

canSleep: boolean

A variable which determines the body's ability to sleep

Optional fixedRotation

fixedRotation: boolean

A variable which determines the body's ability to rotate

Optional position

position: Vector

Optional type

A type of the body(dynamic, static or kinematic).

Optional velocityDamping

velocityDamping: number

A number that determines how fast the body slows down. Must be from 0 to 1.

Generated using TypeDoc