Saurbraten player movement speed?

Posts 13 of 3 · Page 1 of 1
Saurbraten player movement speed?
I know a few of you here, or at least HD if he's still around, have some experience with the cube engine. I was hoping somebody could tell me if there is a single variable for movement speed or if it's just part of one of the functions for clipping and collisions. I know it's not a topic about c/c++ directly, but the engine is written in c/c++, so please don't delete this Why. I know it sounds noob-ish to ask but I am not a great programmer and I've been looking through the physics code for a very long time for something useful. Also, I haven't taken physics yet in school, so I'm a little lost with the stuff.
Lol well game physics is much easier. If Im correct Sauburaten or whatever uses the same code as AC and so by finding a pointer to the player class you should just be able to offset to your player speed from object pointer.
Currently at school, 1 hour left.
pPlayer1->vel(ocity)
check that one out, it's directional speed over x/y/z axis.
figure out where it's used and multiply by 2 to get double speed(multiply only when it's accessed for adding to pos, restore right after)
Posts 13 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?