[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.4

XYZ Coordinates, 360 Rotation.. How to calculate? AutoIT Visual Basic, Visual Studio

Asked by jay1996 in Game Programming, Visual Basic Programming, C++ Programming Language

Tags: Microsoft visual studio 2008, autoit, beta, visual basic, C++, C#

Hello! Ive got a homework assignment for my game Dev. class, and the assignment is to find XYZ coordinates of the player (which I have now) then map out a path with the XYZ Coordinates, while writing the XYZ coordinates to a Config.ini file every .5 seconds for later use, So I have that part down pack, im able to record player movement through XYZ coords to an config.ini file, But now Im stuck at the last part of the project!

We have to take the recorded path coordinates we recorded and read from the .ini file, which isnt the the problem., my problem is player rotation! Im wondering how do you calculate which way the player would have to turn to goto a certain coordinate, (like a GPS points to a saved coordinate)  So theres a 360 Degree rotation, and say the next coordinate the player needsw to walk to is X:-6381 Y: 471 Z: 378 (These are rounded to the closest integer) So how do I calculate which way or how much the player needs to rotate to move in that direction?!
Thanks so much in advance for the help, Im enjoying my stay here.

Also, Im programming this in AutoIT V3 Beta since its an open "Freestyle" project, But if someone knows how to do it in Visual Basic, C++ or C# ill understand any of those, doesnt need to be strictly an AutoIT answer, Thanks.

p.s, Ive heard it would be easier to use 180 Degree rotation for the calculation of player rotation.... Let me know your opinion. Thanks alot
1:
2:
3:
4:
5:
AutoIT V3 BETA - $PlayerRotatiion = ?
Visual Basic - Dim playerRotation = ?
C++ - player rotation = ?
 
please help! :p
 
Related Solutions
Keywords: XYZ Coordinates, 360 Rotation..…
 
Loading Advertisement...
 
[+][-]01/30/09 07:32 AM, ID: 23509210Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/30/09 07:48 AM, ID: 23509439Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Game Programming, Visual Basic Programming, C++ Programming Language
Tags: Microsoft visual studio 2008, autoit, beta, visual basic, C++, C#
Sign Up Now!
Solution Provided By: jkr
Participating Experts: 2
Solution Grade: A
 
[+][-]01/30/09 12:30 PM, ID: 23512572Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/30/09 12:32 PM, ID: 23512599Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/30/09 01:38 PM, ID: 23513279Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/30/09 01:42 PM, ID: 23513316Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/30/09 03:18 PM, ID: 23514019Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/30/09 06:57 PM, ID: 23515027Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/31/09 08:47 AM, ID: 23517402Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/31/09 12:33 PM, ID: 23518371Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/02/09 05:31 PM, ID: 23533355Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]03/17/09 12:58 PM, ID: 23912145Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]03/21/09 06:07 AM, ID: 23947127Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89 - Hierarchy / EE_QW_3_20080625