I am trying to create a pet that can follow you around the map but I am having trouble using the AI Move To function because I trying to use it for VR. I think I have to do something with the motion controllers but i am not sure can anyone help with a basic example.
In VR your pawn location is not where the VR player is - it’s the root of roomscale. So you may well be sending your actor/pawn into the moveto. Instead, get the location of the camera from your VR pawn and moveto that location rather than the actor. I would start by drawing a debug sphere or similar where you think your VR Pawn is to verify you have understood the setup you’re using, then make sure you feed that location into the AI.
I tried what you suggested but its just not working for me, I cant figure out what i am doing wrong
What is the actual problem? Your description is not very helpful. It could be anything. Do you want to upload some code or at least attach some screenshots? It could be something as silly as you not adding Navigation volume to the map, but there is no way of telling that without you providing something for us to work with.
This whole AI move to has just confused me completely so if I am really of course I wont be surprised, all i want it to do is make my object follow my VRPawn in the level
I would recommend using Behavior Trees for this kind of stuff. Read this documentation and you will have everything you need.
I will give it try thanks
Using AI Move to turns out was not the best approach for my issue. I fixed my issue by using a timeline and setting my actors location that way.
So I’m using the Get Player Camera Manager as the Target Actor for my AI MoveTo and in VR, the AI moves to a position where its overlapping with the camera. Even with the Acceptance Radius being changes from 50 to 200 or whatever, the AI still arrives at the same place. Any advice?
I’m doing this as well. I sent everything up in the Btree but one of the task is still using the AI move to. Can everyone in this thread post their blueprint for this? Im curious to see how you guys did it or if there is a better solution the. AI move to.