Questions tagged [coordinates]
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.
354 questions
0 votes
1 answer
120 views
In game engines and 3D rendering, which coordinate system results in the least amount of operations to transform and render scenes?
I understand this is a slightly esoteric question, but its something I've constantly asked myself over and over when using various 3D design tools and game engines. In what way should models be facing,...
2 votes
0 answers
84 views
How to convert a quaternion to another coordinate system where y and z are inverted?
I have quaternion representing a camera pose in a coordinate space called "World Frame 2": x+ = right y+ = up z+ = out ...and I want to convert it to another space called "World Frame ...
1 vote
0 answers
261 views
Converting a Transform from Unity's Coordinate System to Unreal Engine's
I am trying to convert a transform from the Unity Coordinate System to the Unreal Engine Coordinate System (and others). Ideally, I want to take a position, rotation (in Euler angles), and a scale as ...
0 votes
1 answer
151 views
3D-lighting considerations
I'm considering how a graphics-engine lights any given environment, at the level of code. So I guess perhaps the simplest way to light a scene is just to provide a Value-figure (i.e. Value as in the ...
0 votes
1 answer
240 views
How to live on sphere?
What I want to achieve I want to generate sphere planet world, seamless of course, for RTS game like Planetary Annihilation: TITANS, which means I want: place walking agents on sphere, move them on a ...
1 vote
1 answer
160 views
Mouse coordinates to world space offsetting?
so i'm trying to make a mouse to world space function, and I seem to always end up with the rays cast offsetting. I've looked at numerous tutorials, tried numerous examples. Tried with ...
1 vote
1 answer
186 views
remaking Pong in Godot but the opponent AI cannot locate the ball's coordinate correctly
I'm following a detailed YouTube tutorial on remaking Pong in Godot 3.0 but I have ran into an issue regarding the way the AI opponent reacts to the incoming ball, what's happening is that the ...
0 votes
1 answer
238 views
Normalized coordinates not translating to screen coordinates the way I need them to
I am making a simple game in C# using pictureboxes. I want to move a picturebox on a form. Once this picturebox is placed in a new location, I normalize its X,Y coordinates between [0, 1] and then ...