gimbal lock

Posted By: darkinferno

gimbal lock - 03/10/12 22:30

topic says it all, this problem has been nagging me, it wasnt a problem before because I never placed objects using two vertices before but now i have to... so question is, how do I avoid this flip with the angles?

Ive heard i can use 3 vertices but whats the theory behind it ?


thanks in advance =]
Posted By: exile

Re: gimbal lock - 03/11/12 00:49

How are you placing the objects and what for? A player weapon or held object? I would try doing it with bones if possible, that fixed my issue when I ran into this same problem a while back. But again, different games mean different solutions.
Posted By: darkinferno

Re: gimbal lock - 03/11/12 12:54

I never had the problem before because I only used bones but thats out of the question for this scenario, i'm placing a weapon, I also cant place it in the MDL itself so solving this is my only option;
Posted By: painkiller

Re: gimbal lock - 03/11/12 13:12

I use ang_for_bone to avoid that problem
Posted By: darkinferno

Re: gimbal lock - 03/15/12 03:22

i cant use bones.....
Posted By: Anonymous

Re: gimbal lock - 03/15/12 07:51

http://www.opserver.de/ubb7/ubbthreads.p...true#Post306931

look for Widi's Code Example with 3 vec_for_vertex. I did not read all, but maybe it can help you.
© 2024 lite-C Forums