Game Development Community

Rq for pointer: player physics

by Ray Depew · in Torque Game Engine · 01/10/2005 (5:58 pm) · 3 replies

I'm modeling a skier right now, and I need to do the phsyics for him. I've already figured out the math, the key bindings and stuff. I just don't know where to put it. I'd appreciate some pointers.

1. TorqueScript, or C++? (I'd prefer TS for now, but C++ is fine)
2. Server side, or client side?
3. Where's the file? What's the function called inside the file?
4. How is it called, and where from?
5. Am I covering old ground? Has someone already done this?

Ray

#1
01/10/2005 (6:37 pm)
1)C++
2)Server
3)game/player.cc, I think updatePos function
4)processTick, the "game loop"
5)I don't know of and existing resource
#2
01/10/2005 (7:43 pm)
Anthony's response is focused on the physics part. The key bindings are done in script. Search for the keyword "bind" in all files under the fps.starter directory and you'll find what you need.
#3
01/11/2005 (5:51 pm)
Thanks to both. Just what I was loking for.