Quantcast
Channel: Answers for "Object rotates with camera"
Browsing all 4 articles
Browse latest View live

Answer by KubaPrusak

If you want the object to face the player you can use transform.LookAt(Transform target, Vector3 worldUp) where target would be the player Camera. worldUp is an optional parameter but you should set it...

View Article



Answer by Clintmcc

I always feel silly but satisfied when I find the answer but its a mistake I had made. I just needed to change the rotate line from Space.World to Space.Self. Thanks Kuba for your contribution. Lookat...

View Article

Answer by KubaPrusak

If you want the object to face the player you can use transform.LookAt(Transform target, Vector3 worldUp) where target would be the player Camera. worldUp is an optional parameter but you should set it...

View Article

Answer by Clintmcc

I always feel silly but satisfied when I find the answer but its a mistake I had made. I just needed to change the rotate line from Space.World to Space.Self. Thanks Kuba for your contribution. Lookat...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images