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.

Newcomers AppGameKit Corner / [SOLVED] I have the 3d vector that I am moving towards. How can I face that direction?

Author
Message
Golelorn
3
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 1st Feb 2020 21:08 Edited at: 1st Feb 2020 21:21
I have the 3d vector to where I am heading. How can I face that direction?


Thanks.

edit: Using setobjectlookat() before I move the object works. Is this the quickest way for the processor?

The author of this post has marked a post as an answer.

Go to answer

blink0k
AGK Developer
7
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 1st Feb 2020 21:41
This post has been marked by the post author as the answer.
Quote: "edit: Using setobjectlookat() before I move the object works. Is this the quickest way for the processor?"

Yes. I believe this is the best and fastest solution

Login to post a reply

Server time is: 2020-04-06 18:41:27
Your offset time is: 2020-04-06 18:41:27