RaycastExplosion

fun RaycastExplosion(epicentre: Vec2, noOfRays: Int, distance: Double, worldBodies: ArrayList<TranslatableBody>)

Parameters

epicentre

The epicentre of the explosion.

noOfRays

Number of projected rays.

distance

Distance of projected rays.

worldBodies

The world the rays effect and are projected in.