How to avoid a specific object to follow the player movement

I’m trying to make a simple mobile AR game. I’m following the Alive studios tutorial (https://www.youtube.com/watch?v=lNsXKAH5cOU&list=PLJ4BaFFEGP1GVTmPhKDC6QzL8Am9700Wo&index=7).

I’m trying to make an object remain completely static and not follow the player’s movement. I did a completely similar project before and it worked, but for reasons I had to start from zero and copy+paste all I did to the new project. However now I must be missing something, because now it follows the player’s movement.

This is how both projects look (The object I want to remain static is called “Naranjo”):

any help is appreciated.

I’m sorry, I couldn’t find a response but notified the team :cactus:

Hi, looks like your Naranjo hierarchy is in the XRRig - the XRRig is what you move around when you AR/VR (your camera is a child and the XRRig is being moved).

To make it static just put your XRRig on a different gameobject or move your Naranjo content out of the XRRig hierarchy

The problem is that now the object takes forever to render.

I don’t think it’s the problem though beacuse in another project, the object was inside XR_RIG (with XR_Rig component) and it didn’t move

Do you have a link to your website?

I use localhost idk if it would work

No you need to upload it / build the website - you can deploy to Needle Cloud in Unity and Blender directly

I tried your website - works fine on my Android and the trees are static in the room once placed. Is this not the case for you? On what device are you testing on? I tested AR now :wink:

I’m also testing on android
And for example I want to see the backside of the trees but I can’t becasue the scene keeps moving forward as I move forward

Please move your content out of the XRRig

Also is it possible that your scene is quite large? (in the screenshot is a 1 unit cube). I mean that’s OK if the scene is large but it also means you have to basically walk 4 meter in your room to get behind the tree (once it’s not inside XRRig anymore at least)

1 Like

Yes it was the size

I just scaled it by .25 and in fact, the object is now able to be seen from behind
Thank you so much

1 Like

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