Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / SetSunDirection() using Pitch & Yaw [Free Code!]

Author
Message
Nieb
9
Years of Service
User Offline
Joined: 13th May 2014
Location: Lurking
Posted: 4th Sep 2016 07:41 Edited at: 4th Sep 2016 07:56
Working directly with vectors can be a pain.
So here is a little function that will turn Pitch & Yaw into a 3D Vector.
Enjoy!



Attached is an example with Camera Pitch & Yaw around a Pivot included.

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-04-19 00:20:38
Your offset time is: 2024-04-19 00:20:38