You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: