Closed yellowflash07 closed 4 years ago
I feel extremely dumb right now. The gameobjects were not rotating. They were true to their world rotations. The face was rotating and since the i am not taking the face rotation each frame into calculation the face rotated and the gameobjects did not.
SPECIFIC ISSUE ENCOUNTERED
I am trying to place necklace for which I need to manually control the rotation in update else the gameobject will rotate with face but doing that makes the gameobject rotate with camera as if the gameobject were an child of the camera. Any kindof change to the rotation brings this problem. I tried clamping,lookat and assigning quaternion.identity. None of them work.
VERSIONS USED
adb shell pm dump com.google.ar.core | findstr /i "packages: versionName"
On macOS, use:adb shell pm dump com.google.ar.core | egrep -i versionName\|packages:
adb shell getprop ro.build.fingerprint
: Nokia/Dragon_00WW/DRG_sprout:10/QKQ1.190828.002/00WW_4_15E:user/release-keysSTEPS TO REPRODUCE THE ISSUE
1.Just try manipulating any gameobject's rotation manually
WORKAROUNDS (IF ANY)
ADDITIONAL COMMENTS