> For the complete documentation index, see [llms.txt](https://kinematicsoup.gitbook.io/reactor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kinematicsoup.gitbook.io/reactor/api-reference/ks.reactor.server.physx/ks.reactor.server.physx.pxd6jointdrive.md).

# Struct pxD6JointDrive

Namespace: [KS.Reactor.Server.PhysX](/reactor/api-reference/ks.reactor.server.physx.md)\
Assembly: KSReactor.dll

```csharp
public struct pxD6JointDrive
```

#### Inherited Members

[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)), [object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)), [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode), [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype), [object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals), [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Constructors

### pxD6JointDrive(float, float, float, bool) <a href="#ks_reactor_server_physx_pxd6jointdrive__ctor_system_single_system_single_system_single_system_boolea" id="ks_reactor_server_physx_pxd6jointdrive__ctor_system_single_system_single_system_single_system_boolea"></a>

```csharp
public pxD6JointDrive(float driveStiffness, float driveDamping, float driveForceLimit, bool isAcceleration = false)
```

#### Parameters

`driveStiffness` [float](https://learn.microsoft.com/dotnet/api/system.single)

`driveDamping` [float](https://learn.microsoft.com/dotnet/api/system.single)

`driveForceLimit` [float](https://learn.microsoft.com/dotnet/api/system.single)

`isAcceleration` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

## Fields

### damping <a href="#ks_reactor_server_physx_pxd6jointdrive_damping" id="ks_reactor_server_physx_pxd6jointdrive_damping"></a>

```csharp
public float damping
```

#### Field Value

[float](https://learn.microsoft.com/dotnet/api/system.single)

### flags <a href="#ks_reactor_server_physx_pxd6jointdrive_flags" id="ks_reactor_server_physx_pxd6jointdrive_flags"></a>

```csharp
public pxD6JointDriveFlag flags
```

#### Field Value

[pxD6JointDriveFlag](/reactor/api-reference/ks.reactor.server.physx/ks.reactor.server.physx.pxd6jointdriveflag.md)

### forceLimit <a href="#ks_reactor_server_physx_pxd6jointdrive_forcelimit" id="ks_reactor_server_physx_pxd6jointdrive_forcelimit"></a>

```csharp
public float forceLimit
```

#### Field Value

[float](https://learn.microsoft.com/dotnet/api/system.single)

### stiffness <a href="#ks_reactor_server_physx_pxd6jointdrive_stiffness" id="ks_reactor_server_physx_pxd6jointdrive_stiffness"></a>

```csharp
public float stiffness
```

#### Field Value

[float](https://learn.microsoft.com/dotnet/api/system.single)
