Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualdAND3h

Posted 21 December 2012 - 12:21 PM

Equally, you can rotate "the object you are moving" 's UP vector until it points in the same direction as the terrains normal. Then do a cross product on the new UP vector and the right vector, which will give you the look vector.


#3dAND3h

Posted 21 December 2012 - 12:20 PM

Equally, you can rotate "the object you are moving" 's UP vector until it points in the same direction as the terrains normal. Then do a cross product on the new UP vector and the right vector, which will give you the look vector.

#2dAND3h

Posted 21 December 2012 - 12:20 PM

Equally, you can rotate "the object you are moving" 's UP vector until it points in the same direction as the terrains normal. Then do a cross product on the new UP vector and the right vector, which will give you the look vector.

#1dAND3h

Posted 21 December 2012 - 12:20 PM

Equally, you can rotate "the object you are moving" 's UP vector until it points in the same direction as the terrains normal. Then do a dot product on the new UP vector and the right vector, which will give you the look vector.


PARTNERS