Search found 3 matches

by Zuka
Mon Apr 04, 2011 11:32 pm
Forum: General Bullet Physics Support and Feedback
Topic: body::applyTorque() gimbal lock
Replies: 2
Views: 1402

Re: body::applyTorque() gimbal lock

:O That may be the issue then. I have a spaceship that I want to rotate responding to controls. I have yaw, pitch, and roll. It seems simple enough, but how would I do this? It seems that if the ship rotates in more than one axis, everything is wrong, just like what happens with gimbal lock. [edit] ...
by Zuka
Mon Apr 04, 2011 10:22 pm
Forum: General Bullet Physics Support and Feedback
Topic: body::applyTorque() gimbal lock
Replies: 2
Views: 1402

body::applyTorque() gimbal lock

Is there any way to overcome this? I'd like to use quaternions, but this function only accepts Euler angles and I can't find a single viable workaround. I'd rather not dig into the Bullet source code, but if that's what I must do, I'll do it. Also, I'm calling this several times per tick so a costly...