Closed zchaoz closed 12 years ago
Possible explanations/fixes (I'll look into it personally in a bit, after I've finished a different assignment :P):
Sheep don't register player: Try increasing the sensitivity of their eyes/make sure that they have the correct visible layers
Wolves can see through the wall: This is probably because the wall prefab isn't on the correct layer. Just change that to 'Buildings' and it'll be fine.
I'm doing it right now. Just doing ur assignment :P
Tried fixing the Sheep prefab, it's better but the problem is still there. You have to wait a bit long for the Sheep begin to sense the player.
I think this problem is the same as Wolf too. With further testing, I see that if the Sheep can't sense the player, the Wolf can't also sense the Sheep and Player.
If everything is normal, it works perfectly fine.
Checking it now- something's definitely up with the wolves' eyes. They're executing all the raycasts properly, but they don't seem to be converting the information into a useful aggregate!
Got it. They have EYES but they cannot SEE. The eyes weren't registered with the sensory cortex, fixed now.
The eyes on the Wolf are normal. I saw that and added it on the scene early.
However, the sheep can't see the player now :-S. Don't know why. Did you change anything in the Scene ?
Ok, one last bug.
Sometimes, the sheeps don't reg the Player. I have to restart the level again and again in order to make them sense the player properly.
They can only see him when he's on the straight line to their line of views. You can see it clearly when you turn on gizmo mode. I don't know if this is just me or not but can anyone confirm it? My Unity is buggy as hell
Also, pathfinding is buggy. The sheeps are not responsive to follow the player and sometimes, they get stuck, smash their heads and faces into the wall repeatedly.
Also, Wolves can see through the wall in the starting zone ?