Exemplo n.º 1
0
 void OnTriggerEnter(Collider other)
 {
     if (other.gameObject.tag == "boat")
     {
         blockingTentacle.MovePosition(blockingTentacle.transform.position + Vector3.up * 80f, 3f);
         detectionCollider.enabled = false;
     }
 }
Exemplo n.º 2
0
 public void SendTentacleToPosition(Tentacle tentacle, Vector3 position, Quaternion lookAtRotation)
 {
     tentacle.MovePosition(position,tentacleMvmntDelay);
     tentacle.MoveRotation(lookAtRotation,tentacleMvmntDelay);
 }
Exemplo n.º 3
0
 public void SendTentacleToPosition(Tentacle tentacle, Vector3 position, Quaternion lookAtRotation)
 {
     tentacle.MovePosition(position, tentacleMvmntDelay);
     tentacle.MoveRotation(lookAtRotation, tentacleMvmntDelay);
 }