Wextor
Wextor
Jeszcze wrzucam uciekającą podłoge :D Wykorzystam to w późniejszych poziomach jako kolejną pułapkę. #wexproductions #gamedev #untiy3d
Wszystko
Wszystkie
Archiwum
curAc = Vector3.Lerp(curAc, Input.acceleration-zeroAc, Time.deltaTime/smooth);
GetAxisV = Mathf.Clamp(curAc.y * sensV, -1, 1);
GetAxisH = Mathf.Clamp(curAc.x * sensH, -1, 1);
Vector3 movement = new Vector3 (GetAxisH, 0.0f, GetAxisV);
rigidbody.AddForce(movement
IEnumerator ShootWait()
{
canShoot = false;
yield return new WaitForSeconds (0.1f);
canShoot = true;
}
bulletrigid = GameObject.FindGameObjectWithTag("Bullet");
private GameObject bulletrigid;
bulletrigid = Instantiate(bullet, transform.position, this.transform.rotation);
Wykop.pl
Podróże
Gospodarka
Ukraina
Technologia
Motoryzacja
Sport
Rozrywka
Informacje
Ciekawostki