Is there a way to have a 3D model face in the direction of the camera?

Include the following details (edit as applicable):

  • Issue category: Semantic Segmentation / Multiplayer / Real-time Mapping-Depth / ARDK Documentation / Unity Example Package / Sample App aka ‘AR Voyage’ / ARDK Virtual Studio Tools / Developer Tools / Networking / VPS
  • Device type & OS version: Android / iOS / Other Ex. iPhone 8+ on iOS 13
  • Host machine & OS version: Mac / Windows / Linux / Other Ex. Mac on Big Sur x.x
  • Issue Environment : Unity Remote / Unity Mock / On Device / Dev Portal
  • Xcode version:
  • ARDK version:
  • Unity version:

Description of the issue:

When i build the app the 3d model comes in at different angles when I press on the screen. Is there a way to set the 3d model to face the camera the right way round?

Hi Nick,

Can you provide a little more details of the 3D model? Is this something you created yourself or got from the Unity store or elsewhere? Or are you referring to a scan you created using the Scaniverse/ Wayfarer app?

Its a model built in Blender of a Heat Pump. But when I tap to place using object placement it sometimes appears at an angle of backwards to the camera.

Hi Nick,

Can you provide me with the line of code that instantiates the model and also the code that sets its position when instantiating? (feel free to send via DM if you’re not comfortable posting on your public post) Have you also tried with a non-ARDK mobile scene to rule out the possibility of how the 3D model is being imported?