How can I move an object in AR attached to current plane to safe shadows
I need to move object in AR Foundation by script. It should be changed a position z to 5 units. But object doesn't keep position y = 0. I guess that I need to anchor object to detected plane and keep anchor all movement time. How can I do this in code? Please help!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612224425im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Auto move anchors when I move a UI Rect on a canvas. 1 Answer
Issue with wave-like motion when rotating with mouse input 0 Answers
Buttons for Player movement 0 Answers
Rollerball Tutorial: rb.AddForce(movement * speed); not working? 1 Answer
How can I add movement correction for a 2D platformer? 0 Answers