// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
namespace FlaxEngine
{
partial struct D6JointDrive
{
///
/// The default structure.
///
public static readonly D6JointDrive Default = new D6JointDrive(0.0f, 0.0f, float.MaxValue, false);
///
/// Initializes a new instance of the struct.
///
/// The stiffness.
/// The damping.
/// The force limit.
/// if set to true the drive will generate acceleration instead of forces.
public D6JointDrive(float stiffness, float damping, float forceLimit, bool acceleration)
{
Stiffness = stiffness;
Damping = damping;
ForceLimit = forceLimit;
Acceleration = acceleration;
}
}
}