<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/ClothBodyComponent/ExternalForce",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:22RealityFoundationCloth0C13BodyComponentV13ExternalForceV"
  },
  "title" : "ClothBodyComponent.ExternalForce"
}
-->

# ClothBodyComponent.ExternalForce

An external force applied to a single particle, in Newtons.

```
struct ExternalForce
```

## Topics

### Accessing the force vector

[`var vector: SIMD3<Float>`](/documentation/RealityKit/ClothBodyComponent/ExternalForce/vector)

The force vector applied to the particle, in Newtons.

### Initializers

[`init()`](/documentation/RealityKit/ClothBodyComponent/ExternalForce/init())

Creates an external force with zero magnitude.

[`init(SIMD3<Float>)`](/documentation/RealityKit/ClothBodyComponent/ExternalForce/init(_:))

Creates an external force with the given force vector.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

---

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)