<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNPhysicsShape/transforms",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCNPhysicsShape(py)transforms"
  },
  "title" : "transforms"
}
-->

# transforms

The array of transforms that was used to create a compound shape.

```
var transforms: [NSValue]? { get }
```

## Discussion

You provide this array of <doc://com.apple.documentation/documentation/Foundation/NSValue> objects, each containing an [`SCNMatrix4`](/documentation/SceneKit/SCNMatrix4-swift.struct) value, in the [`init(shapes:transforms:)`](/documentation/SceneKit/SCNPhysicsShape/init(shapes:transforms:)) method to create a compound shape. Use this array along with the [`sourceObject`](/documentation/SceneKit/SCNPhysicsShape/sourceObject) property to recover the information that was used to create the shape.

If the shape was created with the [`init(geometry:options:)`](/documentation/SceneKit/SCNPhysicsShape/init(geometry:options:)) or [`init(node:options:)`](/documentation/SceneKit/SCNPhysicsShape/init(node:options:)) method, this property’s value is `nil`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)