Skip to content

OnHit Blocks

SittingFox edited this page Feb 20, 2015 · 1 revision

OnHit Blocks

These blocks deal with the orb colliding with other objects.

On Hit

On Hit block

function onHit( orb, other ) {

}

Is Hit Object Moveable

Is Hit Object Moveable block

other.rigidbody && !other.rigidbody.isKinematic

Clone this wiki locally