---
title: "init(shapes:transforms:)"
framework: scenekit
role: symbol
role_heading: Initializer
path: "scenekit/scnphysicsshape/init(shapes:transforms:)"
---

# init(shapes:transforms:)

Creates a new physics shape by combining others.

## Declaration

```swift
convenience init(shapes: [SCNPhysicsShape], transforms: [NSValue]?)
```

## Parameters

- `shapes`: An array of doc://com.apple.scenekit/documentation/SceneKit/SCNPhysicsShape objects.
- `transforms`: An array of doc://com.apple.documentation/documentation/Foundation/NSValue objects containing doc://com.apple.scenekit/documentation/SceneKit/SCNMatrix4-swift.struct values, each of which is a transform for the physics shape at the corresponding index in the shapes parameter.

## Return Value

Return Value A new physics shape object.

## Discussion

Discussion An individual physics shape is defined in its own local coordinate space. Therefore, to describe the positions and orientations of multiple shapes relative to one another, you must use coordinate transformations.
