Physics.Ninja.Body#bounce

bounce : number The bounciness of this object when it collides. A value between 0 and 1. We recommend setting it to 0.999 to avoid jittering. Default Value 0.3 Source code: physics/ninja/Body.js (Line 95)

Physics.Ninja.Body#bottom

[readonly] bottom : number The bottom value of this Body (same as Body.y + Body.height) Source code: physics/ninja/Body.js (Line 496)

Physics.Ninja.Body#Body

new Body(system, sprite, type, id, radius, x, y, width, height) The Physics Body is linked to a single Sprite. All physics operations should be performed against the body rather thanthe Sprite itself. For example you can set the velocity, bounce values etc all on the Body. Parameters Name Type Argument Default Description system Phaser.Physics.Ninja The physics system this Body belongs to. sprite Phaser.Sprite The Sprite object this physics body belongs to. type number <opt

Physics.Ninja.Body#angle

[readonly] angle : number The angle of this Body Source code: physics/ninja/Body.js (Line 535)

Physics.Ninja.Body#aabb

aabb : Phaser.Physics.Ninja.AABB The AABB object this body is using for collision. Source code: physics/ninja/Body.js (Line 54)

Physics.Ninja.AABB#yw

[readonly] yw Properties: Name Type Description xw number Half the height. Source code: physics/ninja/AABB.js (Line 52)

Physics.Ninja.AABB#xw

[readonly] xw : number Half the width. Source code: physics/ninja/AABB.js (Line 46)

Physics.Ninja.AABB#width

[readonly] width : number The width. Source code: physics/ninja/AABB.js (Line 58)

Physics.Ninja.AABB#velocity

velocity : Phaser.Point The velocity of this object. Source code: physics/ninja/AABB.js (Line 81)

Physics.Ninja.AABB#system

system : Phaser.Physics.Ninja A reference to the physics system. Source code: physics/ninja/AABB.js (Line 30)