Quantcast
Channel: Questions in topic: "write-my-code"
Viewing all articles
Browse latest Browse all 92

How do I rotate my Camera around my sphere using the arrow keys?

$
0
0
My code is currently this, also it's not much however please add onto it. public GameObject playerpos; private float distancey = 3.0f; private float distancex = -4.0f; void Update() { transform.position = new Vector3(playerpos.transform.position.x + distancex, playerpos.transform.position.y + distancey, playerpos.transform.position.z); }

Viewing all articles
Browse latest Browse all 92

Latest Images

Trending Articles





Latest Images