the-world-engine
Version:
three.js based, unity like game engine for browser
15 lines (14 loc) • 345 B
TypeScript
/**
* Applies a force every frame
*/
export class b2ConstantForceController extends b2Controller {
constructor(...args: any[]);
/**
* The force to apply
*/
F: b2Vec2;
Step(step: any): void;
Draw(draw: any): void;
}
import { b2Controller } from "./b2_controller.js";
import { b2Vec2 } from "../common/b2_math.js";