I'm very sorry, I can't solve this problem, because I have also encountered this problem and it hasn't been solved yet. At that time, I posted this post https://developer.apple.com/forums/thread/762348. I hope it will be helpful to you!
Thank you, first of all, I will submit the feedback, and then if you want, I hope you can help me write the code snippet, which would be great!
Note: I hope that the code snippet is based on ARKit's scene reconstruction, and the scene reconstruction has physical components and collision components, so that virtual objects can have a real collision reaction with the real room.
Thank you, but my expression may be a little inaccurate. My main purpose is not to anchor the entity in one position, but for example, I have two entities, and I hope to move one entity to the position of another entity.
In this document, there is a module "Add real-world interactivity using collision components". He can add a Mesh to RealityView to make virtual objects collide with the real room, but I don't understand it very well. I hope you can give me some help. Thank you!
I'm very sorry, I can't solve this problem, because I have also encountered this problem and it hasn't been solved yet. At that time, I posted this post https://developer.apple.com/forums/thread/762348. I hope it will be helpful to you!
Thank you, first of all, I will submit the feedback, and then if you want, I hope you can help me write the code snippet, which would be great!
Note: I hope that the code snippet is based on ARKit's scene reconstruction, and the scene reconstruction has physical components and collision components, so that virtual objects can have a real collision reaction with the real room.
Thank you, but my expression may be a little inaccurate. My main purpose is not to anchor the entity in one position, but for example, I have two entities, and I hope to move one entity to the position of another entity.
In this document, there is a module "Add real-world interactivity using collision components". He can add a Mesh to RealityView to make virtual objects collide with the real room, but I don't understand it very well. I hope you can give me some help. Thank you!