GPS-Torque connection
by Michigan State University (#0021 · in Torque Game Engine · 03/23/2007 (8:44 am) · 2 replies
Ok, we're interested in creating a Torque representation of campus, upon which we can place 'players' representing professors or students. We would like to be able to use GPS technology to map their location, and then somehow message Torque about their location and update their position accordingly.
My question is, assuming we can handle the logisitics of getting the GPS data onto the network, how easy/difficult would it be to get Torque to look for and receive these messages. Given Torque's Server/Client nature, I'm assuming its not terribly difficult, but it's definitely beyond my experience as a student so far.
Thanks.
My question is, assuming we can handle the logisitics of getting the GPS data onto the network, how easy/difficult would it be to get Torque to look for and receive these messages. Given Torque's Server/Client nature, I'm assuming its not terribly difficult, but it's definitely beyond my experience as a student so far.
Thanks.
#2
Your bigger challenge will be over-riding the built in physics to accept the external-authoritative position and adjust to compensate.
I would highly suggest starting very basic, and get something simple moving ( a box not based off the Player class for example ) before digging into the full 3D procedurally animated and networked physics based code--and I speak from experience, having implemented this for a commercial client :)
03/23/2007 (9:58 am)
I would just setup a TCPObject in a listen state, and deliver the data that way to Torque.Your bigger challenge will be over-riding the built in physics to accept the external-authoritative position and adjust to compensate.
I would highly suggest starting very basic, and get something simple moving ( a box not based off the Player class for example ) before digging into the full 3D procedurally animated and networked physics based code--and I speak from experience, having implemented this for a commercial client :)
Torque 3D Owner Tim Dix (Raverix)