[sldev] How to move the avatar with finer, high precision increments?

Ettore Pasquini ettore_pasquini at 3dconnexion.com
Tue Mar 13 20:29:42 PDT 2007


I want to add support for an external input device that I intend to use for
navigation in SL. The device produces high-res values that I'd like to use
to move the avatar around with high sensitivity.

So far I had great results for pitch and yaw manipulations (LLAgent::pitch()
and moveYaw()). However I have unsatisfactory results for moving F/B,
sliding L/R, flying U/D because the APIs I am using are the same used for
the keyboard: LLAgent::moveAt/moveLeft/moveUp which are basically on/off

Can anybody point me to something that will allow me to specify higher
precision values? Something similar to the moveYaw(F32) method would be
great and if this doesn't exist yet, any hints on how to implement such a
feature would be highly appreciated as well.



More information about the SLDev mailing list