[ODE] look-at?

Jon Watte hplus-ode at mindcontrol.org
Thu Dec 16 16:23:18 MST 2004


You turn the quaternion representing your look-at orientation into euler angles, and then feed the delta between desired euler angles and your object's current euler angles into either input torque each step, or into an amotor that applies torque.

Cheers,

			/ h+


-----Original Message-----
From: ode-bounces at q12.org [mailto:ode-bounces at q12.org]On Behalf Of
Daniel Holth
Sent: Thursday, December 16, 2004 3:20 PM
To: ode at q12.org
Subject: [ODE] look-at?


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

How do I use ODE to make an object try to look in a particular direction?

Thanks,

Daniel Holth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBwhgRVh4W2pVfoMsRAlwPAJ99YZB1iM7JsZ06HKI5hpQGDSFCdwCgv3rK
MHm3PV2zcZwKlZpBSEjkNa0=
=h3v5
-----END PGP SIGNATURE-----
_______________________________________________
ODE mailing list
ODE at q12.org
http://q12.org/mailman/listinfo/ode




More information about the ODE mailing list