Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualTheChubu

Posted 04 February 2013 - 11:32 AM

Ah I see. Everywhere I read said "and you dont have to do the inversion!" but never mentioned why (transpose the rotation, then invert translation).

 

Any idea why I can either move accordingly but rotate around world (0,0) or move always in the same directions but rotating around camera's (0,0) ? I'm very annoyed right now because it's been a week and I can't make it work.

 

There is something missing that should translate accordingly to where I'm looking at. How do you update your eye position? Just plain "if W is pressed, add 10 to Z component of eye position" ? Or there is more math involved?

 

I can't figure it out. Forward is always -Z, right is always +Y, etc, no matter where I'm looking at.


#1TheChubu

Posted 04 February 2013 - 11:24 AM

Ah I see. Everywhere I read said "and you dont have to do the inversion!" but never mentioned why (transpose the rotation, then invert translation).

 

Any idea why I can either move accordingly but rotate around world (0,0) or move always in the same directions but rotating around camera's (0,0) ?

 

There is something missing that should translate accordingly to where I'm looking at. But I can't figure it out.


PARTNERS