IConstraint

interface IConstraint
readonly RigidBody Body1
readonly RigidBody Body2

Gets the second body. Can be null.

void PrepareForIteration(float timestep)
Parameters:
  • timestep (float) –
void Iterate()