---
title: bodyB
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnphysicshingejoint/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 Hinge Joint

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