cz.cuni.amis.pogamut.ut2004.agent.navigation.navmesh
Class NavMeshConstants

Package class diagram package NavMeshConstants
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.agent.navigation.navmesh.NavMeshConstants

public class NavMeshConstants
extends Object

Author:
Jakub Tomek Holds constants used for navmesh. Used staticaly

Field Summary
static double agentRadius
          how far from edge of navmesh should agent stay
static double ForceToTarget
           
static double liftPolygonLocation
          When building a path, add this number to polygon Z coordinate, so that is is not on the floor (or under), but floating a little above
static double maxAllowedCrossFactor
           
static double maxAllowedSplitFactor
           
static double maxDistanceBotPolygon
          how far above or bellow a polygon a bot can stand and still be considered to be standing on it
static int maxNumberOfPolygonsToTry
           
static double obstacleMaxDistance
           
static double obstacleMaxForce
           
static String processedLevelGeometryDir
           
static String processedMeshDir
           
static String pureLevelGeometryReadDir
           
static String pureMeshReadDir
           
static double StepSize
           
static int stopSplittingNumberOfPolygons
           
static int stopSplittingNumberOfTriangles
           
static double stopSplittingSizeOfOneBlock
           
static double UTFullAngle
           
static double UTHalfAngle
           
static double UTQuarterAngle
           
 
Constructor Summary
NavMeshConstants()
           
 
Method Summary
static Location getColorForOffMeshConnection(OffMeshEdge oe, UT2004Server server)
           
static double transform2DVectorToRotation(javax.vecmath.Vector2d vector)
          Transgorms a 2D vector to angle.
static javax.vecmath.Vector2d transformRotationTo2DVector(double yaw)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pureMeshReadDir

public static String pureMeshReadDir

processedMeshDir

public static String processedMeshDir

pureLevelGeometryReadDir

public static String pureLevelGeometryReadDir

processedLevelGeometryDir

public static String processedLevelGeometryDir

stopSplittingNumberOfPolygons

public static int stopSplittingNumberOfPolygons

maxNumberOfPolygonsToTry

public static int maxNumberOfPolygonsToTry

maxAllowedSplitFactor

public static double maxAllowedSplitFactor

stopSplittingNumberOfTriangles

public static int stopSplittingNumberOfTriangles

stopSplittingSizeOfOneBlock

public static double stopSplittingSizeOfOneBlock

maxAllowedCrossFactor

public static double maxAllowedCrossFactor

UTFullAngle

public static double UTFullAngle

UTHalfAngle

public static double UTHalfAngle

UTQuarterAngle

public static double UTQuarterAngle

ForceToTarget

public static double ForceToTarget

StepSize

public static double StepSize

obstacleMaxForce

public static double obstacleMaxForce

obstacleMaxDistance

public static double obstacleMaxDistance

maxDistanceBotPolygon

public static double maxDistanceBotPolygon
how far above or bellow a polygon a bot can stand and still be considered to be standing on it


liftPolygonLocation

public static double liftPolygonLocation
When building a path, add this number to polygon Z coordinate, so that is is not on the floor (or under), but floating a little above


agentRadius

public static double agentRadius
how far from edge of navmesh should agent stay

Constructor Detail

NavMeshConstants

public NavMeshConstants()
Method Detail

getColorForOffMeshConnection

public static Location getColorForOffMeshConnection(OffMeshEdge oe,
                                                    UT2004Server server)

transform2DVectorToRotation

public static double transform2DVectorToRotation(javax.vecmath.Vector2d vector)
Transgorms a 2D vector to angle. Handy for handling relative rotations. Returns a value between 0 and 65536 (full angle);

Parameters:
vector -
Returns:

transformRotationTo2DVector

public static javax.vecmath.Vector2d transformRotationTo2DVector(double yaw)


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.