Quantcast
Channel: Answers by "shriya"
Viewing all articles
Browse latest Browse all 98

Answer by shriya

$
0
0
Hi, This might help :) var FirstPerson: GameObject; var tempTransformroattion_y:float; var jalousie : GameObject; function Start () { tempTransformroattion_y = FirstPerson.transform.rotation.y; Debug.Log(tempTransformroattion_y + "and" + FirstPerson.transform.rotation.y); // yield WaitForSeconds(1); FirstPerson.transform.LookAt(jalousie.transform); Debug.Log(tempTransformroattion_y + "and" + FirstPerson.transform.rotation.y); }

Viewing all articles
Browse latest Browse all 98

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>