C# Class BEPUphysics.Settings.CollisionResponseSettings

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

Public Properties

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

Property Details

BouncinessVelocityThreshold public static 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 static property

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

PenetrationRecoveryStiffness public static property

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

StaticFrictionVelocityThreshold public static 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 static 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