Tagged Questions
0
votes
1answer
97 views
getting direction of x and y… north,south,east,west
I have a player in the center of the screen, where I also have my mouse position origin. (0,0) I would like to know the direction of the mouse, imagine splitting the screen with a X, so the top ...
3
votes
1answer
256 views
Spherical to Cartesian Coordinates
Well I'm reading the Frank's Luna DirectX10 book and, while I'm trying to understand the first demo, I found something that's not very clear at least for me. In the updateScene method, when I press A, ...
0
votes
3answers
356 views
Game Institute Math Courses
I'm 21 years old and I suck at math, I mean really bad. I don't have the necessary logic to apply it towards programming. I would like to learn the math and logic of applying it. I found Game ...
0
votes
0answers
94 views
What is the connection between an isometric angle and scale
I am trying to work out an isometric projection matrix for a custom angle.
In the engine I'm using there's a projection matrix defined like so:
projection.rotate(45 * (Math.PI / 180) );
scale = ...
0
votes
1answer
134 views
Minimap Around Perimeter of Screen, Code Provided
What I'm essentially trying to do is what a lot of FPS's nowadays do in regards to their HUD. When an objective is off-screen, a small icon / symbol is shown on the perimeter of the screen, basically ...
2
votes
4answers
1k views
How to detect if object is moving in clockwise- or counterclockwise direction?
I've read this one, but I need more info: rotating an object from sourceAngle to destAngle, both 0-359, clockwise or counter clockwise?
I have a ball. The user is able to drag the ball in any ...