---
title: bodyB
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnphysicssliderjoint/bodyb
---

# bodyB

The second physics body connected by the joint.

## Declaration

```swift
var bodyB: SCNPhysicsBody? { get }
```

## Discussion

Discussion This property’s value is nil if the joint was created using the init(body:axis:anchor:) method.

## See Also

### Managing the Characteristics of a Slider Joint

- [bodyA](scenekit/scnphysicssliderjoint/bodya.md)
- [axisA](scenekit/scnphysicssliderjoint/axisa.md)
- [anchorA](scenekit/scnphysicssliderjoint/anchora.md)
- [axisB](scenekit/scnphysicssliderjoint/axisb.md)
- [anchorB](scenekit/scnphysicssliderjoint/anchorb.md)
