Function: resolveBounds()
resolveBounds(body, bounds): void
Defined in: src/mobjects/physics/collisions.ts:39
Push body back inside bounds and reflect the velocity that drove it out,
scaled by the body restitution. A static body is never moved.
Parameters
body
Body
bounds
Bounds
Returns
void