Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 41819

Mathematics questions deal with the arithmetic, geometry, calculus, formulae and other calculations used in the development of a game.

21 votes

How do I convert from the global coordinate space to a local space?

Okay, so Assuming that you know what the World Transformation matrix for that object A is, You just need to construct the inverse of that matrix and you will have what you need. Suppose the rotation …
The Light Spark's user avatar
3 votes
1 answer
1k views

Make Camera Look at point using a World transformation matrix?

Variants of this question might have been asked on this site, but none of the answers I found worked in my case. I am trying to make a Camera look at a point. The camera has a world transformation ma …
The Light Spark's user avatar
0 votes
Accepted

Make Camera Look at point using a World transformation matrix?

Found what was wrong. The overall system works perfectly, its just that The m_rotationX angle was being calculated incorrectly. instead of m_rotationX = degrees(atan2f( lookDir.y, lookLengthOnXZ ) …
The Light Spark's user avatar