poprawki materialy unity 6, pajaki, podmiana katalogu FSM w AIControlerze, zmiana w Spider 2.0 Behaviours , skopane zycie bylo, ladowalo pajaka z zyciem 2.
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Invector.vCharacterController.AI.FSMBehaviour
|
||||
{
|
||||
public override string categoryName
|
||||
{
|
||||
get { return ""; }
|
||||
get { return "Noise/"; }
|
||||
}
|
||||
|
||||
public override string defaultName
|
||||
@@ -44,7 +44,7 @@ namespace Invector.vCharacterController.AI.FSMBehaviour
|
||||
if (specificType) noise = noiseListener.GetNearNoiseByTypes(noiseTypes);
|
||||
else noise = noiseListener.GetNearNoise();
|
||||
}
|
||||
else noise = noiseListener.lastListenedNoise;
|
||||
else noise = noiseListener.LastListenedNoise;
|
||||
if (noise != null)
|
||||
{
|
||||
return CompareDistance(Vector3.Distance(fsmBehaviour.aiController.transform.position, noise.position), distance);
|
||||
|
||||
Reference in New Issue
Block a user