FERRETGame engine over Babylon.js
Ferret

API reference

Generated from the source of every package, so it matches the code. Each export has its signature, its doc comment and its members; type names link to where they are defined.

Core

Gameplay

World and content

Physics: kernel

Physics: mechanics

flowwind, fronts, vortices, jets, shelters and channels as one field of moving air and water, without physics.37 exportsflow-solverflow boxes: a solved 2d slice of air or water round bodies (staggered grid, pressure projection) that publishes its wake into the flow field and pushes bodies by surface pressure.16 exportsphysics-actuatorsforces, impulses, torques and motors at points of bodies on a schedule: profiles over time, angle, phase or a sensor.37 exportsphysics-enginessteam cylinders with valve gear by crank angle, multi-cylinder piston engines with firing order, ignition and fuel controls, inertia forces on the mounts, and the engine words of the motion language.16 exportsphysics-frictionfriction dialled by scope, rolling and pivot friction.2 exportsphysics-gravitygravity as a field with uniform vectors per scope and point attractors.4 exportsphysics-impactelastic and inelastic collisions, rest thresholds, sticking, impact events.4 exportsphysics-mediawater, mud, wind and air as media with drag, buoyancy and flow; the standard atmosphere.19 exportsphysics-rotorblades, paddles and buckets around an axis turning wind and water into torque, and the blade actuator: a plate in a medium.20 exportsphysics-strengthfinite strength: bodies that take damage and break into pieces, links that break.6 exportsphysics-stretchsprings, ropes and bands that stretch and tear; cloth and soft bodies by position-based dynamics.13 exportsphysics-terrainlayered soil height field that can be dug, filled, slumps and floods; sinkage; tunnels; terrain as kernel meshes.22 exports

Physics: matter and energy

Physics: machines and vehicles

Physics: glue and look

Other