Unity+Arkit anchor game asset on plane detected

Hi,

Does anyone know how to anchor a game asset on a plane detected at touch position in unity + Arkit? I am going to anchor a game asset on touched screen position on a plane detected. After that, if I move around that asset should be still there and not move. Appreciate your help

Unity + ARKit

Replies

Use the ARPlaneAnchor data that is returned from a plane being detected. Follow that by placing your game object on a Vector3.ProjectOnPlane( main.camera.transform.forward ... // and the anchordata.extent