Need help
#5

Quote:
Originally Posted by BigETI
Посмотреть сообщение
Look into Input.GetAxis() and Update() in MonoBehaviour.
You may have to use
Код:
transform.position = transform.position + (((transform.forward * vertical) + (transform.right * horizontal)).normalized * speed * Time.deltaTime);
for horizontal and vertical movement.
For camera rotation look into Quaternion.AngleAxis(), polar and elevation attributes and Quaternion multiplication.
Thanks a lot ill do the first part but I didn't understood the second part like the part about Quaternion.AngleAxis(), polar and elevation attributes and Quaternion multiplication. If anyone else knows it will be really great
Reply


Messages In This Thread
Need help - by Advait - 08.06.2017, 11:40
Re: Need help - by X337 - 08.06.2017, 12:28
Re: Need help - by Advait - 09.06.2017, 05:30
Re: Need help - by BigETI - 09.06.2017, 10:59
Re: Need help - by Advait - 09.06.2017, 16:16

Forum Jump:


Users browsing this thread: 1 Guest(s)