Game Development Community

Clarifications on Some Fields From the Playerdata Datablock

by Jerane Alleyne · in Torque Game Engine · 02/27/2003 (9:13 pm) · 4 replies

There are a few fields used in Playerdata datablock that I was interested in knowing more about, as I have not really found much information on them, and playing with the values really doesn't give me a much better idea as to what they do. I was hoping someone could explain these fields a bit moreso:

Drag
MaxDrag
Density
runSurfaceAngle
jumpSurfaceAngle
horizMaxSpeed
horizResistSpeed
horizResistFactor
upMaxSpeed
upResistSpeed
upResistFactor

If anyone can help out with these fields, that would be great :)

Thanks!

#1
03/08/2003 (8:07 pm)
Got a better idea on Drag and Maxdrag now, but still hazy on the others. Any help?

Thanks
#2
03/08/2003 (9:17 pm)
Not sure on all of them, but here's a few more answers for you...

Drag
MaxDrag
Density - desity of the player, i believe this relates to how quickly he sinks and moves in water
runSurfaceAngle - maximum surface angle the player can run up
jumpSurfaceAngle - just guessing based on the one above that it is the max surface angle a player can go up jumping
horizMaxSpeed - max speed going horizontally (strafing / sidestepping)
horizResistSpeed
horizResistFactor
upMaxSpeed
upResistSpeed
upResistFactor
#3
03/08/2003 (9:27 pm)
To add to Ben's list:

Drag
MaxDrag
Density - desity of the player, i believe this relates to how quickly he sinks and moves in water
runSurfaceAngle - maximum surface angle the player can run up
jumpSurfaceAngle - just guessing based on the one above that it is the max surface angle a player can go up jumping
horizMaxSpeed - max speed going horizontally (strafing / sidestepping)
horizResistSpeed - If the player exceeds this speed the engine will slowly cut down the velocity each tick until the speed equals the horizMaxSpeed
horizResistFactor - The factor in which the engine determines how much to cut the players speed until it reaches horizMaxSpeed
upMaxSpeed - The max speed going in the verticle direction(ie jumping/jetting(Tribes 2)
upResistSpeed - If the player exceeds this speed the engine will slowly cut down the velocity each tick until the speed equals the upMaxSpeed
upResistFactor - The factor in which the engine determines how much to cut the players speed until it reaches upMaxSpeed
#4
03/09/2003 (5:03 am)
and Ill finish the last two:
Drag = Used to slow down the Player velocity; utilizing the base value from the script and only changed when in water.
(consider it surface friction?)
MaxDrag = Not found related to Player or ShapeBase..
but instead a now unused var part of the Vehicle class.