Table of Contents

Struct Contact3OneBodyFunctions

Namespace
BepuPhysics.Constraints.Contact
Assembly
BepuPhysics.dll
public struct Contact3OneBodyFunctions : IOneBodyConstraintFunctions<Contact3OneBodyPrestepData, Contact3AccumulatedImpulses>
Implements
Inherited Members

Properties

RequiresIncrementalSubstepUpdates

Gets whether this constraint type requires incremental updates for each substep taken beyond the first.

public static bool RequiresIncrementalSubstepUpdates { get; }

Property Value

bool

Methods

IncrementallyUpdateForSubstep(in Vector<float>, in BodyVelocityWide, ref Contact3OneBodyPrestepData)

public static void IncrementallyUpdateForSubstep(in Vector<float> dt, in BodyVelocityWide velocityA, ref Contact3OneBodyPrestepData prestep)

Parameters

dt Vector<float>
velocityA BodyVelocityWide
prestep Contact3OneBodyPrestepData

Solve(in Vector3Wide, in QuaternionWide, in BodyInertiaWide, float, float, ref Contact3OneBodyPrestepData, ref Contact3AccumulatedImpulses, ref BodyVelocityWide)

public static void Solve(in Vector3Wide positionA, in QuaternionWide orientationA, in BodyInertiaWide inertiaA, float dt, float inverseDt, ref Contact3OneBodyPrestepData prestep, ref Contact3AccumulatedImpulses accumulatedImpulses, ref BodyVelocityWide wsvA)

Parameters

positionA Vector3Wide
orientationA QuaternionWide
inertiaA BodyInertiaWide
dt float
inverseDt float
prestep Contact3OneBodyPrestepData
accumulatedImpulses Contact3AccumulatedImpulses
wsvA BodyVelocityWide

WarmStart(in Vector3Wide, in QuaternionWide, in BodyInertiaWide, ref Contact3OneBodyPrestepData, ref Contact3AccumulatedImpulses, ref BodyVelocityWide)

public static void WarmStart(in Vector3Wide positionA, in QuaternionWide orientationA, in BodyInertiaWide inertiaA, ref Contact3OneBodyPrestepData prestep, ref Contact3AccumulatedImpulses accumulatedImpulses, ref BodyVelocityWide wsvA)

Parameters

positionA Vector3Wide
orientationA QuaternionWide
inertiaA BodyInertiaWide
prestep Contact3OneBodyPrestepData
accumulatedImpulses Contact3AccumulatedImpulses
wsvA BodyVelocityWide