one more thing, I have checked the multi user environment example in the reference>networking and I am trying to link this example with my code.
I don't know how to do it with the function moveAvatar since it gets the user input and saves it in a variable newPos.
in the multi user environment example, the user selects an object from a list of objects.
what I want to do is send the position of the selected object to the moveAvatar function so I can control the avatar movement.
thanks,
|