Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualLee Stripp

Posted 03 January 2012 - 11:46 AM


// recalc up vector
up = math.Cross( forward, side );


It looks like you've reversed this cross product. forward x side will get you the down vector using the right-hand rule. Try doing side x forward and see if that fixes the issue.


Yep, I was at that point where I was trying anything. Code got messy, I didn't need to recalc the Up vector :-)

#1Lee Stripp

Posted 03 January 2012 - 11:45 AM


// recalc up vector
up = math.Cross( forward, side );


It looks like you've reversed this cross product. forward x side will get you the down vector using the right-hand rule. Try doing side x forward and see if that fixes the issue.


Yep, I was at that poin where I was trying anything. Code got messy, I didn't need to recalc the Up vector :-)

PARTNERS