Tagged Questions
1
vote
0answers
87 views
Numerically stable(ish) method of getting Y-intercept of mouse position?
I'm trying to unproject the mouse position to get the position on the X-Z plane of a ray cast from the mouse. The camera is fully controllable by the user. Right now, the algorithm I'm using is...
...
0
votes
0answers
168 views
Unity3D - Projection matrix camera frustum
I've used off centre projection to create a custom projection matrix for my camera.
When I run the game I can see the scene correctly in the game view but in the editor view the camera frustum is not ...
1
vote
1answer
316 views
Trouble with SAT style vector projection in C#/XNA
Simply put I'm having a hard time working out how to work with XNA's Vector2 types while maintaining spatial considerations. I'm working with separating axis theorem and trying to project vectors onto ...
1
vote
2answers
603 views
How would I achieve diablo like 2D isometric projection?
I am in the process of coming up with an idea for a game, and I would like it to be isometric like Diablo. The problem is I have no idea how it achieves the effect of height like in the following ...
1
vote
1answer
129 views
Finding furthermost point in game world
I am attempting to find the furthermost point in my game world given the player's current location and a normalized direction vector in screen space. My current algorithm is:
convert player world ...
8
votes
1answer
1k views
Screen space to world space
I am writing a 2D game where my game world has x axis running left to right, y axis running top to bottom, and z axis out of the screen:
Whilst my game world is top-down, the game is rendered on a ...
7
votes
3answers
753 views
Inverted textures
I'm trying to draw textures aligned with this physics body whose coordinate system's origin is at the center of the screen. (XNA)Spritebatch has its default origin set to top-left corner.
I got the ...
