nape-js API
GitHub
Home
Preparing search index...
BodyType
Class BodyType
Body type enumeration.
STATIC
— immovable, infinite mass (walls, floors)
DYNAMIC
— fully simulated (default)
KINEMATIC
— moves only via velocity, not affected by forces
Index
Constructors
constructor
Accessors
DYNAMIC
KINEMATIC
STATIC
Methods
to
String
Constructors
constructor
new
BodyType
()
:
BodyType
Returns
BodyType
Accessors
Static
DYNAMIC
get
DYNAMIC
()
:
BodyType
Returns
BodyType
Static
KINEMATIC
get
KINEMATIC
()
:
BodyType
Returns
BodyType
Static
STATIC
get
STATIC
()
:
BodyType
Returns
BodyType
Methods
to
String
toString
()
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
DYNAMIC
KINEMATIC
STATIC
Methods
to
String
GitHub
Home
nape-js API
Loading...
Body type enumeration.
STATIC— immovable, infinite mass (walls, floors)DYNAMIC— fully simulated (default)KINEMATIC— moves only via velocity, not affected by forces