Game Development Community

Tracking support?

by Chris VanderKnyff · in Torque Game Engine · 06/15/2004 (11:39 am) · 1 replies

I'd like to implement head-tracking support in the engine, so that I can wear a head-mounted display and move in the world using both real motion and the regular movement keys. I plan on using VRPN for the API, which entails some C++ tweaks to the engine:

- I need to initialize the tracker object. This is probably going to be done client-side. Where's something that gets called immediately on client startup?

- I need to call a mainloop() method in order to get the necessary network updates each frame for movement's sake. Is there an OnIdle() call similar to Wild Magic which would be more suitable than the MoveManager's GetNextMove method?

- I've already implemented stereo rendering support in GameTSCtrl.

Thanks for any suggestions.

About the author

Recent Threads


#1
06/16/2004 (10:54 am)
Check out GameBase - that has most of those time based updates. Network updates are NOT guaranteed realtime (but you are guaranteed to eventually get a state update or a disconnect). You might also check at the MoveManager and the ActionMap.