|
Hey guys. I've been working on this 3d sidescrollr and managed to get the character flipping properly based on which way hes moving, but the problem is that if he runs towards the left, he will face left, but run right. Any help here?
(comments are locked)
|
|
Try removing this line:
And see what happens. (If 'moveDirection' is already in world space, there shouldn't be any need to transform it. I don't see anything in your code that specifies what space moveDirection is in, but I'm guessing it's world space.) Thanks a ton dude! Works Perfectly!
Apr 03 '11 at 03:32 PM
Xatoku
Wow! Used so many hours trying to figure this one out as well, and it was all a matter of removing one single line. Damn... Thanks!
Mar 07 at 09:54 AM
A Digital Goodie
(comments are locked)
|
