hey there,
I’m working on an AR project using unreal blueprints and ARCore.
so far many things have gone pretty good till the point whenn I found it almost impossible to make an object move from one place to another using hit position.
I found a way to do it in Unity but that would require me to remake the project allover again from the start.
so is there anyway to do that even by using c++ code?
You’ll need to modify that spawn trace used in the example to trace your spawned object, and when you hit one you enter a moving mode. You store the object you traced, then trace through it to find a plane, find hit position of that plane and interpolate current object position with that hit point.
that seem like a good plan but i’m still quite new to AR so I don’t know what to do exactly like how to make it trace my object and how to make it switch to moving instead of pawning new objects
Here I don’t trace once I found the object, I use users swipe to move object instead. In GetPointARGeometry you just convert screen position to world and trace as in WorldHitTest. link text