cz.cuni.amis.pogamut.ut2004.agent.navigation.navmesh
Class NavMeshConstants
java.lang.Object
cz.cuni.amis.pogamut.ut2004.agent.navigation.navmesh.NavMeshConstants
public class NavMeshConstants
- extends Object
- Author:
- Jakub Tomek
Holds constants used for navmesh. Used staticaly
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
NavMeshConstants
public NavMeshConstants()
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.