arcamera

ARKit : Make virtual 3D objects to point towards camera

懵懂的女人 提交于 2021-02-08 03:46:48
问题 I am trying to build an app based on ARKit to place 3D virtual objects on to the plane that is detected. I found a useful project on GitHub Placing Virtual Objects This does the job exactly what I am looking for. However, when any virtual object is placed in front of the camera, it may or may not face the camera. Sometimes 3D objects look in the opposite direction of camera I have tried to add SCNconstraints to virtual object node and tweak the rotation and orientation of 3D Models to look at

ARKit : Make virtual 3D objects to point towards camera

微笑、不失礼 提交于 2021-02-08 03:46:28
问题 I am trying to build an app based on ARKit to place 3D virtual objects on to the plane that is detected. I found a useful project on GitHub Placing Virtual Objects This does the job exactly what I am looking for. However, when any virtual object is placed in front of the camera, it may or may not face the camera. Sometimes 3D objects look in the opposite direction of camera I have tried to add SCNconstraints to virtual object node and tweak the rotation and orientation of 3D Models to look at