Difference between revisions of "World units"

From BZFlagWiki
Jump to: navigation, search
(if max jump height is 19, then I bet 17 is not the double jump height)
(correct jump height and other numbers. include formula for calculating jump heights.)
Line 1: Line 1:
A world unit is the basic unit of measure when dealing with BZFlag. World units have no real-world counterpart, as they are a purely virtual concept, they can be though of to be equivalent to about 1 meter in length if you assume a roughly real world sized [[tank]].
+
A world unit is the basic unit of measure when dealing with BZFlag. World units have no real-world counterpart, as they are a purely virtual concept, but they can be though of to be equivalent to about 1 meter in length if you assume a roughly real world sized [[tank]].
  
== Some useful measures ==
+
Many [[Server Variables]] are specified in terms of world units or world units per second.
 +
 
 +
== Some useful measures at default settings ==
 
<div align="center">
 
<div align="center">
 
{| cellpadding="0" cellspacing="0" border="1" width="60%"
 
{| cellpadding="0" cellspacing="0" border="1" width="60%"
 
|-  
 
|-  
|width="70%"|Doable jump height
+
|width="60%"|Jump height limit (next to impossible)
|width="10%"|17.0
+
|width="20%"|See below
 +
|width="10%"|18.42
 
|-  
 
|-  
|Jump height limit (next to impossible)
+
|Doable jump height
|19.0
+
|See below
 +
|17.0
 
|-
 
|-
 
|Tank length
 
|Tank length
 +
|_tankLength
 
|8.04
 
|8.04
 
|-
 
|-
 
|Tank width
 
|Tank width
 +
|_tankWidth
 
|2.8
 
|2.8
 
|-
 
|-
 
|Tank height
 
|Tank height
|2.08
+
|_tankHeight
 +
|2.05
 
|-
 
|-
 
|Barrel height
 
|Barrel height
|1.6
+
|_muzzleHeight
 +
|1.57
 +
|-
 +
|Drivable bump height
 +
|_bumpHeight
 +
|0.33
 
|-
 
|-
 
|}
 
|}
 
</div>
 
</div>
 +
 +
== Calculating jump height ==
 +
Jump height is determined by the gravity and jump velocity settings on the server (see [[Server Variables]] for details).  Note that the jump velocity and gravity may be altered by flags including [[Low Gravity]] and [[Wings]].
 +
 +
:Max jump height = -(_jumpVelocity)<sup>2</sup> / (2 * (_gravity))
 +
 +
A typical BZFlag player can reliably jump a bit more than 90% of the maximum jump height.
  
 
[[Category:Map Making]]
 
[[Category:Map Making]]
 
[[Category:Concepts]]
 
[[Category:Concepts]]

Revision as of 22:46, 18 September 2007

A world unit is the basic unit of measure when dealing with BZFlag. World units have no real-world counterpart, as they are a purely virtual concept, but they can be though of to be equivalent to about 1 meter in length if you assume a roughly real world sized tank.

Many Server Variables are specified in terms of world units or world units per second.

Some useful measures at default settings

Jump height limit (next to impossible) See below 18.42
Doable jump height See below 17.0
Tank length _tankLength 8.04
Tank width _tankWidth 2.8
Tank height _tankHeight 2.05
Barrel height _muzzleHeight 1.57
Drivable bump height _bumpHeight 0.33

Calculating jump height

Jump height is determined by the gravity and jump velocity settings on the server (see Server Variables for details). Note that the jump velocity and gravity may be altered by flags including Low Gravity and Wings.

Max jump height = -(_jumpVelocity)2 / (2 * (_gravity))

A typical BZFlag player can reliably jump a bit more than 90% of the maximum jump height.