# Sandbox.PhysicsJointBuilderExtensions.WithBody2

```csharp
static T WithBody2(T b, int v)
```

Sets the second connected body.

### Parameters

- `b` (`T`): The joint builder.
- `v` (`int`): The body index.

### Returns

`T`: The joint builder.

Declared in [Sandbox.PhysicsJointBuilderExtensions](/api/Sandbox.PhysicsJointBuilderExtensions).
Assembly: `Sandbox.Engine`.
