You can get Torben's code, which is the excellent work in the youtube video here:
http://torbensko.com/software/head_tracking/#Download I'll send you our more hacky stuff (which uses external tracking HW) directly. I guess I should put up a tutorial.. Steve On Sun, Jun 14, 2009 at 11:31 AM, Mark Chandler<[email protected]> wrote: > Mind shareing some sample code as this is driving me nuts atm. > > Steve Henderson wrote: >> 2) When you position the player, you are moving the feet of the >> player's model. You will have to figure out the transformation from >> the feet to the eyes (based on the model's eye height) to figure out >> how to put the "camera" where the tracker is. Also, changing the >> player's orientation doesn't change the view orientation. We found >> that we had to change the player's orientation (angles) as well as the >> engine's **ViewAngles** to get the behavior we need. >> >> Steve >> > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

