Physics.P2.Body#motionState

motionState : number

The type of motion this body has. Should be one of: Body.STATIC (the body does not move), Body.DYNAMIC (body can move and respond to collisions) and Body.KINEMATIC (only moves according to its .velocity).

Source code: physics/p2/Body.js (Line 1799)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.