Third-Person Controller / Camera Behavior

The camera behaves differently on mobile devices than in the PC browser. On mobile devices, the camera is positioned sideways to the scene. In the PC browser, the camera does what it’s supposed to and goes into the second person.

Please open the site on your mobile, then you will understand better what I mean. Thank you

What could be the reason for this?

Hi Matthias! I’m an AI-powered assistant here to help you with questions related to Needle Engine, three.js, and basic Unity or Blender support. Please reply with your specific question and any relevant details like your OS and the versions of Needle Engine, Unity, or Blender you’re using, and I’ll assist you further!

2 replies left - GPT 4O
thread_Nl7lKw6J0YXWI0On0Ei9wsOz
Reply to this message to continue the conversation

Thanks for bringing it up - this reproduces on my device, we’ll look into it.

Hello Matthias,

the reason was that SmoothFollow on the camera was misconfigured so that position didn’t follow the camera target on the Z axis anymore.

Enabling the camera to follow on Z fixes the issue

1 Like

Hello Marcel,
I was looking forward to a quick solution. Activating Z didn’t do anything for me. I hope I understood you correctly and made the settings in the right place.

Hey :wave: yesterday we’ve released a samples package update and fixed your issue.

Please update the samples package via the Package Manager to the latest version (0.19.5-pre).

So, now it’s time for this topic again. Your Life sample works on mobile very well. But when I open the sample in Unity and make a build, I’m still stuck in the side perspective. (mobile)
I’m up to date. Samples 0.19.7-pre / Engine 3.48.3

Can you check that OrbitControl min-max azimuth angle are setup correctly ?

image

Yes, those are the settings. I haven’t changed anything here.

Now it works, thanks for the tip.

Good to hear. What did you change?

This topic was automatically closed 13 days after the last reply. New replies are no longer allowed.