pooltool.physics.engine#
The physics engine of pooltool#
Overview#
A billiards engine for pluggable physics. |
Classes#
- class pooltool.physics.engine.PhysicsEngine(resolver: Resolver = Resolver.default)[source]#
A billiards engine for pluggable physics.
Important
Currently, only event resolution is a part of this class. The sliding, rolling, and spinning ball trajectory evolution is currently “hard-coded”, however can in theory be added to this class to enable alternative trajectory models.
- resolver#
The physics engine responsible for resolving events.