---
name: "setJointDriveLinearVelocity"
type: command
status: ok
groups: ["PhysX"]
arma3_since: "2.22"
locality: {"argument": "local", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/setJointDriveLinearVelocity
revid: 378899
updated: 2026-08-11T14:56:33Z
---

# setJointDriveLinearVelocity

*Command · PhysX · Arma 3 v2.22*

Locality: arguments **local** · effect **local**

## Description

Requires that a linear "drive" has been configured in [attachChild](../commands/attachChild.md).
Sets the joints target velocity (orientation relative to the joint's own orientation).
The drive will then behave like a spring (springParameters are configured in the drive), trying to accelerate the child object to the desired velocity.
Similar to [setVelocityModelSpace](../commands/setVelocityModelSpace.md)

## Syntax

```sqf
joint setJointDriveLinearVelocity velocity
```

**Parameters:**

- `joint` : [Object](../topics/Object.md) or NetObject - The parent vehicle that has a joint to a child, or the joint itself to be manipulated
- `velocity`: [Vector3D](../topics/Vector3D.md) - relative velocity vector

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf

```

### Example 2

```sqf

```

### Example 3

```sqf

```

### Example 4

```sqf

```

### Example 5

```sqf

```

## See also

[attachChild](../commands/attachChild.md) · [setJointDrivePosition](../commands/setJointDrivePosition.md) · [setJointDriveOrientation](../commands/setJointDriveOrientation.md) · [setJointDriveAngularVelocity](../commands/setJointDriveAngularVelocity.md)

<sub>Source: [BI Community Wiki — setJointDriveLinearVelocity](https://community.bistudio.com/wiki/setJointDriveLinearVelocity) (revision 378899).</sub>
