Hmm.. The “navTarget” variable as far as I see, is of type Transform. As such, it is normal that when you later use the “navTarget” variable value in a task, it will return the transform.position, since the internal conversion FROM “Transform” TO “Vector3”, is by returning “Transform.position”.
I see though that in your scripts you overwrite the .varRef by a new Variable created in the action. I am really not sure why you are doing this but this will probably create a lot of problems down the road. If you want to set the value of a variable, you can simply do outPutPoint.value = finalPoint (just like you have, but commented out).
Generally speaking, I am not really sure what the problem we are trying to solve here is 🙁 Is there something I can do to reproduce the problem you are facing so that I can better see what that problem is and thus determine whether there is a bug, or simply some usage misunderstanding?
Thank you!
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.