- Home /
Question by
Griffo · Oct 03, 2013 at 01:55 PM ·
networkviewidnetworkviewid
Extract the network id from raycast
Hi, is it possible to extract the network ID (no networkView.viewID) from another game objet that you hit with a ray cast, as in -
Network.player.ToString()
Comment
Does the hitinfo of the raycast not give you this information?
I think this is all the info it returns Here
I decided to add a variable to the game object and set it to it's ID when instantiated and check the variable when the ray cast hits.
whydoidoit, wish I was as clever as you ;) .. please convert you comment to an answer so I may accept it, thank you.
Best Answer
Answer by whydoidoit · Oct 04, 2013 at 02:25 PM
Isn't that just the networkView.viewID.owner?