• Advertisement
Sign in to follow this  

HELP!! Angle Between 2 Character

This topic is 3692 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, Needed help here!!! How can i find a angle between 2 character in a 3d plane so that 1 of the character will always face the 1 moving around him??.. Here is the formula i've tried, i'm not sure if it is because of the moving character's x and z axis is negative. btw: i'm using dot product float ax = 10; //vector 1 float az = 0; //vector 2


Copyright © 1999-2018 GameDev.net, LLC

We've detected an ad blocker!
We've detected an ad blocker.
Please whitelist GameDev.net for access to our game development community.
Don't like ads? Consider our GDNet+ Memberships for a no-ad experience.
Yes, I'll Whitelist

Copyright (c) 1999-2018 GameDev.net, LLC Powered by Invision Community

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Create an account with GameDev.net and join the game development conversation on our forums, blogs, articles, and more!

Sign me up!