testing library

A simple, deterministic PhysicsEngine3D for tests: boxes that fall and land, sensors, rays and a character that walks on boxes — no native code, so gameplay tests run anywhere.

Classes

FakeBody3D
A body in a FakePhysicsWorld3D, open for tests to look at.
FakeCharacter3D
A character in a FakePhysicsWorld3D.
FakeJoint3D
A joint in a FakePhysicsWorld3D: recorded, never simulated.
FakePhysicsEngine3D
A PhysicsEngine3D for tests, in plain Dart.
FakePhysicsWorld3D
The world of a FakePhysicsEngine3D. Its bodies, joints and characters are open for tests to look at.