I've simulated a piece of cloth using https://developer.apple.com/documentation/realitykit/physics-cloth-simulation
I would like to grab the cloth like what I can in Marvellous Designer.
I found the ClothGrabComponent at https://developer.apple.com/documentation/realitykit/clothgrabcomponent
However, after I added the ClothGrabComponent to the cloth entity, I am still not able to grab it.
Is there any sample code to show me how to grab the cloth? Thank you.
1
0
656