However, I don’t know how to get the “currentposition” in the above example. I have heard of OnSerializeView() but isn’t that just a Photon thing? I am not using PhotonNetworking in my game. Any help on how to get that updated position would be greatly appreciated.
Maybe I don’t understand well what your problem is, because to my understanding you need to use target.position and not currentposition as you describe. Here “target” is the Transform of where you want to move. You could also use “target” as a Vector3 location, in which case you’d need to use just target instead of currentposition.
In any case, I understand that currentposition is actually transform.position, so, maybe I don’t understand your problem well.
I have given a very in-depth explanation on this one. While pako eventually lead me to the right answer it wasn’t really producing the correct effect that I am looking for. I have given this full answer at the other question that I asked: