Search found 2 matches
- Sun Aug 02, 2009 8:40 am
- Forum: Game Programming
- Topic: Aligning to a surface normal
- Replies: 1
- Views: 1242
Nevermind! I simply checked for the special case of the zero vector when generating my nForward vector. If this is the case, I simply take the cross of the old forward vector and the normal instead, generating the nRight vector, then use it to generate nForward vector. Works like a charm. Hope this ...
- Sun Aug 02, 2009 2:45 am
- Forum: Game Programming
- Topic: Aligning to a surface normal
- Replies: 1
- Views: 1242
Aligning to a surface normal
Hi everyone. I'm new here but have been enjoying irrlicht for a while. Props to the dev team for making a clean API. I quite often use in my line of work for testing techniques/algorithms because it's so easy to get up and running. Which brings me to a question that I have. Currently, I am trying to...