Numeric representation of the location of an entity in the game space. There are multiple forms of coordinate systems to cater to a variety of methods to map position.
3
votes
1answer
55 views
Coordinates on the top left corner or center of the tile
I'm setting up a tile system where every tile has x and y coordinates. Right now I assume that the top left corner of the tile is positioned on it's coordinate on the screen, x = tileX * tileWidth and ...
0
votes
3answers
93 views
Staggered Isometric Map: Calculate map coordinates for point on screen
I know there are already a lot of resources about this, but I haven't found one that matches my coordinate system and I'm having massive trouble adjusting any of those solutions to my needs.
What I ...
0
votes
1answer
52 views
Curiosity on any Smartphones that Run on Android 2.3.3 with Different Screen Reoslution
I have a question regarding about any smartphones that run only in Android 2.3.3. Is the size of screen or the screen resolution is always HVGA or does it have capable of running this OS (Android ...
2
votes
1answer
83 views
Coordinate spaces and transformation matrices
I'm trying to get an object from object space, into projected space using these intermediate matrices:
The first matrix (I) is the one that transforms from object space into inertial space, but since ...
1
vote
1answer
48 views
XNA 3D coordinates seem off
I'm going through a book, and the example it gave me seems like is should work, but when I try and implement it, it falls short.
My Camera class takes three vectors in to generate View and Projection ...
1
vote
1answer
51 views
Precise Touch Screen Dragging Issue: Trouble Aligning with the Finger due to Different Screen Resolution
Please, I need your help. I'm trying to make a game that will drag-n-drop a sprite/image while my finger follows precisely with the image without being offset. When I'm trying on a 900x1280 (in X ...
3
votes
1answer
91 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, ...
12
votes
1answer
108 views
Orthographic unit translation mismatch on grid (e.g. 64 pixels translates incorrectly)
I am looking for some insight into a small problem with unit translations on a grid.
Update and Solved
I solved my own issue. See below for details. Everything in this part of the post turned out to ...
2
votes
1answer
101 views
Convert rotation from Right handed System to left handed
I have Euler angles from a right handed system that I am trying to convert to a left handed system. All the information that I have read online says that to convert it simply multiply the axis and ...
4
votes
2answers
166 views
Get world coordinate under mouse (at a ground plane for Warcraft 3 like movement)
I want to let a unit follow the mouse like in any RTS (Warcraft 3, Starcraft, ...). For that I have a "ground plane" which is defined through 2 vectors, the X and Z axis. Now I need to get the world ...
4
votes
1answer
177 views
Isometric Screen View to World View
I am having trouble working out the math to transform the screen coordinates to the Grid coordinates.
The code below is how far I have got but it is totally wrong any help or resources to fix this ...
0
votes
1answer
432 views
Converting world space coordinate to screen space coordinate and getting incorrect range of values
I'm attempting to convert from world space coordinates to screen space coordinates.
I have the following code to transform my object position
Vector3 screenSpacePoint = ...
0
votes
2answers
123 views
get coordinates of origin of coordinate system in second coordinate system by knowin matrices of one point in bith systems
Situation, two coordinate systems A, B. origins Oa, Ob. I have one point, for which i know modelview matrix (translatoin/orientation) in both systems. And what i need to get is modelview matrix of Ob ...
3
votes
3answers
790 views
OpenGL ES and Screen Coordinates
Is there anyway I can make OpenGL ES 2.0 to accept coordinates (for Vextex for example) in int meaning the pixels instead of the default float system? Also how can I set the point (0,0) to be at the ...
3
votes
2answers
273 views
Draw a 3D object at specific coordinates on the screen
I'm creating an application which allows the user to manipulate 3D models.
I would like to draw 3 axis representing the world coordinate system in 3D in order to give the user an idea where he is. ...