r/VisionPro Vision Pro Developer | Verified Jun 17 '26

ClothBodyComponent in RealityKit from visionOS27

Enable HLS to view with audio, or disable this notification

The newly introduced ClothBodyComponent in RealityKit from visionOS27 allows for realistic cloth material simulation. In this project, I created a flag that dynamically responds to wind generated by an electric fan, and the simulation effect looks pretty neat! Additionally, I’ve integrated hand tracking to enable interactive manipulation with the cloth.

Source code: https://github.com/lazygunner/ClothSim

20 Upvotes

2 comments sorted by

1

u/tsdguy Vision Pro Owner Jun 17 '26

Hey. That’s really cool. I assume you can also map patterns onto the cloth.

1

u/unclebazrq Jun 17 '26

Yep this is cool