C# Class BEPUphysics.Settings.CollisionResponseSettings

Contains global settings relating to the collision response system.
Datei anzeigen Open project: Indiefreaks/igf

Public Properties

Property Type Description
BouncinessVelocityThreshold float
MaximumPenetrationCorrectionSpeed float
PenetrationRecoveryStiffness float
StaticFrictionVelocityThreshold float
TwistFrictionFactor float

Property Details

BouncinessVelocityThreshold public_oe static_oe property

Impact velocity above which the bouciness of the object pair is taken into account. Below the threshold, no extra energy is added. Defaults to 1.
public static float BouncinessVelocityThreshold
return float

MaximumPenetrationCorrectionSpeed public_oe static_oe property

Maximum speed at which interpenetrating objects will attempt to undo any overlap. Defaults to 2.
public static float MaximumPenetrationCorrectionSpeed
return float

PenetrationRecoveryStiffness public_oe static_oe property

Fraction of position error to convert into corrective momentum. Defaults to 0.2.
public static float PenetrationRecoveryStiffness
return float

StaticFrictionVelocityThreshold public_oe static_oe property

Magnitude of relative velocity at a contact point below which staticFriction is used. dynamicFriction is used when velocity exceeds this threshold. Defaults to 0.2.
public static float StaticFrictionVelocityThreshold
return float

TwistFrictionFactor public_oe static_oe property

Value by which a collision pair's friction coefficient will be multiplied to get the twist friction coefficient. Defaults to 1.
public static float TwistFrictionFactor
return float