name | type | arguments | Default | description |
---|---|---|---|---|
collideWorldBounds | boolean | <optional> | false | |
customBoundsRectangle | Phaser.Geom.Rectangle | <optional> | null |
Sets setBoundsRectangle. |
accelerationX | number | <optional> | 0 |
Sets acceleration.x. |
accelerationY | number | <optional> | 0 |
Sets acceleration.y. |
allowDrag | boolean | <optional> | true | |
allowGravity | boolean | <optional> | true | |
allowRotation | boolean | <optional> | true | |
useDamping | boolean | <optional> | false |
Sets useDamping. |
bounceX | number | <optional> | 0 |
Sets bounce.x. |
bounceY | number | <optional> | 0 |
Sets bounce.y. |
dragX | number | <optional> | 0 |
Sets drag.x. |
dragY | number | <optional> | 0 |
Sets drag.y. |
enable | boolean | <optional> | true |
Sets enable. |
gravityX | number | <optional> | 0 |
Sets gravity.x. |
gravityY | number | <optional> | 0 |
Sets gravity.y. |
frictionX | number | <optional> | 0 |
Sets friction.x. |
frictionY | number | <optional> | 0 |
Sets friction.y. |
maxSpeed | number | <optional> | -1 |
Sets maxSpeed. |
maxVelocityX | number | <optional> | 10000 |
Sets maxVelocity.x. |
maxVelocityY | number | <optional> | 10000 |
Sets maxVelocity.y. |
velocityX | number | <optional> | 0 |
Sets velocity.x. |
velocityY | number | <optional> | 0 |
Sets velocity.y. |
angularVelocity | number | <optional> | 0 | |
angularAcceleration | number | <optional> | 0 | |
angularDrag | number | <optional> | 0 | |
mass | number | <optional> | 0 | |
immovable | boolean | <optional> | false |