Answer by tavoevoe
I solved this on my own. Sorry if I wasted anyone's time. The trick here is that I'm calling removeRPCs, then adding one more RPC. That means, when a player connects after this player has left, they...
View ArticleAnswer by tavoevoe
I'm almost positive this line's your problem: yew = Mathf.Max(Mathf.Min(yew,yewMax),(-45f)); What your saying is, lock yew to: -45 < yew < yewMax (set to 0). Make yewMax more than zero, or yew...
View ArticleAnswer by tavoevoe
This is a kind of open ended question, so I've got a kind of open ended response. Instead of using physics.raycast, use [physics.raycastall][1]. It will return a list of everything along a line, but...
View ArticleAnswer by tavoevoe
Make sure you save a reference to the object before you set it to inactive.
View ArticleAnswer by tavoevoe
You're asking a relatively simple question, but that's kind of what AI is. You're player wants to A: get to the target and B: avoid all obstacles. You've got to balance the SEEK desire with the AVOID...
View ArticleAnswer by tavoevoe
This is... really old isn't it. Its also super vague. Like, I doubt anybody knew what I meant. Anyways, my problem was that I wanted to make two separate projects. One for a server, one for a client. I...
View ArticleAnswer by tavoevoe
var zombie:GameObject; //Set the zombie model in the inspector var maxZombies:int; //set max zombies in this round var maxLiveZombies:int; //set max zombies alive at once private var...
View Article