You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// An implementation of INarrowPhaseCallbacks (a BePu interface) needed to get simulation running with BePu.
/// </summary>
/// <remarks> Basically a verbatim copy from the example given here: https://github.com/bepu/bepuphysics2/blob/master/Demos/Demos/SimpleSelfContainedDemo.cs </remarks>
public struct PoseIntegratorCallbacks : IPoseIntegratorCallbacks
{
public void Initialize(Simulation simulation) { }
public readonly AngularIntegrationMode AngularIntegrationMode => AngularIntegrationMode.Nonconserving;
public readonly bool AllowSubstepsForUnconstrainedBodies => false;
public readonly bool IntegrateVelocityForKinematics => false;
private readonly Vector3Wide _gravityWideDt;
public PoseIntegratorCallbacks(Vector3 gravity, float timeStepSeconds) : this()