ForceEffectComponent
Applies continuous forces (gravity, vortex, radial) to nearby physics bodies.
Official Abstract: A component that defines the forces that affect an entity, including custom forces that you define.
/// platform availability
iOS / iPadOS
● 18.0
since iOS 18.0
visionOS
● 2.0
since visionOS 2.0
macOS
● 15.0
since macOS 15.0
- visionOS available since 2.0
- macOS available since 15.0
- iOS / iPadOS available since 18.0
/// notes & resources
-
Code-only component
Not listed in Reality Composer Pro Add Component menu. Attach programmatically at runtime.
No notes match this filter.
- ForceEffectComponent | Apple Developer Documentation A component that defines the forces that affect an entity, including custom forces that you define.
- Discover RealityKit APIs for iOS, macOS, and visionOS Learn how new cross-platform APIs in RealityKit can help you build immersive apps for iOS, macOS, and visionOS. Check out the new hover...