/** * Applies simplified gravity between every pair of bodies */ export class b2GravityController extends b2Controller { constructor(...args: any[]); /** * Specifies the strength of the gravitiation force */ G: number; /** * If true, gravity is proportional to r^-2, otherwise r^-1 */ invSqr: boolean; /** * @see b2Controller::Step */ Step(step: any): void; Draw(draw: any): void; } export namespace b2GravityController { const Step_s_f: b2Vec2; } import { b2Controller } from "./b2_controller.js"; import { b2Vec2 } from "../common/b2_math.js";