/* * Attribute: mass * * The mass of the body, in kilograms (kg). * * Availability: * * alpha 16 * * Status: * * experimental */ static int l_sbody_attr_mass(lua_State *l) { SystemBody *sbody = LuaSystemBody::CheckFromLua(1); lua_pushnumber(l, sbody->GetMass()); return 1; }