Body count.
List of bodies.
Set this to a positive number to clamp the maximum amount of damping done.
Tensor to use in damping model.
Debug drawing.
Handle to drawer.
Gets the body list.
Body list.
Gets the next controller.
Next controller.
Applies top down linear damping to the controlled bodies The damping is calculated by multiplying velocity by a matrix in local co-ordinates.