new PhysicsBody()
The PhysicsBody component manages the Game Objects physics body and physics enabling.
It also overrides the x and y properties, ensuring that any manual adjustment of them is reflected in the physics body itself.
- Source code: gameobjects/components/PhysicsBody.js (Line 13)
Please login to continue.