int w_Fixture_getBody(lua_State *L) { Fixture *t = luax_checkfixture(L, 1); Body *body = t->getBody(); if (body == 0) return 0; luax_pushtype(L, PHYSICS_BODY_ID, body); return 1; }