salamander7_11
New member
Hi,
I am having an issue with some Multiplayer code. The code I have is based on the PUN package but using TNet instead. I have setup a simple game area with 4 views that the player can be a part of, if they leave a view the shadow object will disappear from other players view. This seems to work. What is not working is if a player keep walking back into a view they just left in one direction without releasing the keyboard key, the animation is not started. Only if I release the keyboard key and press again will the animation kick in again. As you can see the shadow gameobject is removed on exit and created at entry. Is there a function I should call or an event in UCC I should invoke in order for the animation to kick in again?
This video is showing what is happening:
I am having an issue with some Multiplayer code. The code I have is based on the PUN package but using TNet instead. I have setup a simple game area with 4 views that the player can be a part of, if they leave a view the shadow object will disappear from other players view. This seems to work. What is not working is if a player keep walking back into a view they just left in one direction without releasing the keyboard key, the animation is not started. Only if I release the keyboard key and press again will the animation kick in again. As you can see the shadow gameobject is removed on exit and created at entry. Is there a function I should call or an event in UCC I should invoke in order for the animation to kick in again?
This video is showing what is happening: