ARCore-Location icon indicating copy to clipboard operation
ARCore-Location copied to clipboard

3d object always oriented to camera.

Open AmraKimmerian opened this issue 4 years ago • 0 comments

I use lib to show 3d object, but object all time rotated one side to camera, regardless of device position. If i chaned my position - object turned to me same side. I need to object has fixed orientation, for example always to north, or to needed azimuth. I tried to set world and local rotation to our renderable node like this: node.setWorldRotation(Quaternion.axisAngle(new Vector3(0.0f, 1.0f, 0.0f), 45));| but it not works, may be because of marker.node.setLocalPosition(Vector3.zero()); in LocationScene code.

Is there any way to set needed orientation?

AmraKimmerian avatar Dec 29 '19 08:12 AmraKimmerian