Physics Library
Smash Hit uses a low level physics library created by Dennis Gustafsson [Source].
While not much research has been done, the library appears to work on the level of algorithms rather than objects. For example, there is a class TdGjk
with a few methods that use the GJK distance algorithm.
Classes
Functions
Bodies
- tdBodyApplyImpulse
- tdBodySetMassAsBox
- tdBodySetMassAsInfiniteInertia
- tdBodySetMassAsSphere
- tdBoundingBoxAabb
Contexts
- tdContextCreate
- tdContextDestroy
- tdContextSetMaxIterations
- tdContextSetTolerance
Shapes
- tdShapecast
- tdShapeInitBox
- tdShapeInitCapsule
- tdShapeInitCone
- tdShapeInitCylinder
- tdShapeInitHull
- tdShapeInitSphere
- tdShapeSupport
Solver
- tdSolverCreate
- tdSolverDestroy
- tdSolverDisable
- tdSolverEnable
- tdSolverGetAngAcc
- tdSolverGetIterationCount
- tdSolverGetLinAcc
- tdSolverGetParam
- tdSolverInsertAngular
- tdSolverInsertBody
- tdSolverInsertContactBB
- tdSolverInsertLinear
- tdSolverInsertParticle
- tdSolverIntegratePos
- tdSolverIntegrateVel
- tdSolverIsEnabled
- tdSolverPopState
- tdSolverPushState
- tdSolverReset
- tdSolverResetState
- tdSolverSetAngAcc
- tdSolverSetIterationCount
- tdSolverSetLinAcc
- tdSolverSetParam
- tdSolverSolveConstraints
- tdSolverStep
- tdSolverWriteBack
Scene
- tdDistance
- tdManifold
- tdOverlap
- tdRaycast
- tdSupportGeneric
- tdTransformInit
- tdTransformInitM16
- tdTransformInitP
- tdTransformInitPQ