setLayer abstract method

void setLayer(
  1. int body,
  2. int layer
)

Moves body to another collision layer.

Implementation

void setLayer(int body, int layer);