I am wondering if it is a bug.
I guess position2 is the place where we need to go to.
As the red arrow points out, the postion2 is getting the invoker's local variable. Which is not the result I want.
I expected the postion2 would be the local variable of the object which I specified in the inspector.
My case is.
I have a Main object, which located at (0,0,0), and it calls the action function attached to another object (Sphere) which placed somewhere.
The Sphere has a local variable named "New Position".
So, the invoker is the Main object in this case.
When I play the game. The Sphere always goes to the (0,0,0). which is the wrong place. It should go to the New Position.
Is it a bug?
Customer support service by UserEcho