// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved.
namespace FlaxEngine
{
partial struct HingeJointDrive
{
///
/// Initializes a new instance of the struct.
///
/// The velocity.
/// The force limit.
/// The gear ratio.
/// if set to true [free spin].
public HingeJointDrive(float velocity, float forceLimit, float gearRatio, bool freeSpin)
{
Velocity = velocity;
ForceLimit = forceLimit;
GearRatio = gearRatio;
FreeSpin = freeSpin;
}
}
}