isSensor method

bool isSensor(
  1. int i
)

Whether the ith contact's body is a sensor.

Implementation

bool isSensor(int i) => flags[i] & 1 != 0;