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.

Author
Message
FROGGIE!
20
Years of Service
User Offline
Joined: 4th Oct 2003
Location: in front of my computer
Posted: 26th Aug 2004 01:51
How do you find what angle an object is on the X,Z axis compared to another one. I know its something to do with HTAN() but im not sure how.

p.s. i only know v.basic trigonometry so plz k.i.s

I should have changed my signature when asked
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 26th Aug 2004 04:55
look into ATAN / ATANFULL commands or something


DBP_NETLIB_v1.4.3 - 65 FREE Functions * Click Logo
GameKit
21
Years of Service
User Offline
Joined: 6th Mar 2003
Location: USA, Staring Blankly at a Computer
Posted: 26th Aug 2004 23:27 Edited at: 26th Aug 2004 23:30
ATAN(Rise/Run) for example, if we are finding the Z angle between the object A and the X axis with the focus point being B...

AngleZ#=ATAN((Object Position Y(A)-Object Position Y(B))/(Object Position X(A)-Object Position X(B)))



Well... I hope I helped...

The computer isn't an addiction, its more of a mental and social dependancy.

Login to post a reply

Server time is: 2024-09-22 22:33:09
Your offset time is: 2024-09-22 22:33:09