// Copyright (c) 2012-2022 Wojciech Figat. All rights reserved. namespace FlaxEngine { partial struct HingeJointDrive { /// /// The default structure. /// public static readonly HingeJointDrive Default = new HingeJointDrive(0.0f, float.MaxValue, 1.0f, false); /// /// 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; } } }