![]() |
Blender V2.61 - r43446
|
#include <KX_ObstacleSimulation.h>

Public Member Functions | |
| KX_ObstacleSimulationTOI_cells (MT_Scalar levelHeight, bool enableVisualization) | |
Protected Member Functions | |
| virtual void | sampleRVO (KX_Obstacle *activeObst, KX_NavMeshObject *activeNavMeshObj, const float maxDeltaAngle) |
Protected Attributes | |
| float | m_bias |
| bool | m_adaptive |
| int | m_sampleRadius |
Definition at line 122 of file KX_ObstacleSimulation.h.
| KX_ObstacleSimulationTOI_cells::KX_ObstacleSimulationTOI_cells | ( | MT_Scalar | levelHeight, |
| bool | enableVisualization | ||
| ) |
Definition at line 847 of file KX_ObstacleSimulation.cpp.
References KX_ObstacleSimulationTOI::m_collisionWeight, KX_ObstacleSimulationTOI::m_curVelWeight, KX_ObstacleSimulationTOI::m_maxSamples, KX_ObstacleSimulationTOI::m_maxToi, m_sampleRadius, KX_ObstacleSimulationTOI::m_toiWeight, and KX_ObstacleSimulationTOI::m_velWeight.
| void KX_ObstacleSimulationTOI_cells::sampleRVO | ( | KX_Obstacle * | activeObst, |
| KX_NavMeshObject * | activeNavMeshObj, | ||
| const float | maxDeltaAngle | ||
| ) | [protected, virtual] |
Implements KX_ObstacleSimulationTOI.
Definition at line 774 of file KX_ObstacleSimulation.cpp.
References KX_Obstacle::dvel, m_adaptive, m_bias, KX_ObstacleSimulationTOI::m_collisionWeight, KX_ObstacleSimulationTOI::m_curVelWeight, KX_ObstacleSimulation::m_levelHeight, KX_ObstacleSimulationTOI::m_maxSamples, KX_ObstacleSimulationTOI::m_maxToi, KX_ObstacleSimulation::m_obstacles, m_sampleRadius, KX_ObstacleSimulationTOI::m_toiWeight, KX_ObstacleSimulationTOI::m_velWeight, KX_Obstacle::nvel, processSamples(), and KDL::sqr().
bool KX_ObstacleSimulationTOI_cells::m_adaptive [protected] |
Definition at line 126 of file KX_ObstacleSimulation.h.
Referenced by sampleRVO().
float KX_ObstacleSimulationTOI_cells::m_bias [protected] |
Definition at line 125 of file KX_ObstacleSimulation.h.
Referenced by sampleRVO().
int KX_ObstacleSimulationTOI_cells::m_sampleRadius [protected] |
Definition at line 127 of file KX_ObstacleSimulation.h.
Referenced by KX_ObstacleSimulationTOI_cells(), and sampleRVO().