|
|
@@ -325,7 +325,7 @@ public class Rabbit : TargetAnimal
|
|
|
void RandomMove() {
|
|
|
Vector3 standardPointer = animalsBaseT.forward;
|
|
|
Vector3 pointerWithLen = standardPointer.normalized * (baseDistance + Random.value * baseDistanceMoveRange);
|
|
|
- pointerWithLen = Quaternion.AngleAxis(Random.Range(-22f, 22f), Vector3.up) * pointerWithLen;
|
|
|
+ pointerWithLen = Quaternion.AngleAxis(Random.Range(-18f, 18f), Vector3.up) * pointerWithLen;
|
|
|
Vector3 newPos = animalsBaseT.position + pointerWithLen;
|
|
|
// GameObject.Find("BBAA").transform.position = newPos;
|
|
|
// GameObject.Find("BBBA").transform.LookAt(GameObject.Find("BBAA").transform);
|