public WheelSuspension ( float stiffnessConstant, float dampingConstant, Vector3 localDirection, float restLength, Vector3 localAttachmentPoint ) : BEPUphysics.Constraints |
stiffnessConstant |
float |
Strength of the spring. Higher values resist compression more. |
dampingConstant |
float |
Damping constant of the spring. Higher values remove more momentum. |
localDirection |
Vector3 |
Direction of the suspension in the vehicle's local space. For a normal, straight down suspension, this would be (0, -1, 0). |
restLength |
float |
Length of the suspension when uncompressed. |
localAttachmentPoint |
Vector3 |
Place where the suspension hooks up to the body of the vehicle. |
Résultat |
BEPUphysics.Constraints |
|