OpenMW
|
#include "physicssystem.hpp"
#include <stdexcept>
#include <osg/Group>
#include <BulletCollision/CollisionShapes/btHeightfieldTerrainShape.h>
#include <BulletCollision/CollisionShapes/btConeShape.h>
#include <BulletCollision/CollisionShapes/btSphereShape.h>
#include <BulletCollision/CollisionShapes/btStaticPlaneShape.h>
#include <BulletCollision/CollisionShapes/btCompoundShape.h>
#include <BulletCollision/CollisionDispatch/btCollisionObject.h>
#include <BulletCollision/CollisionDispatch/btCollisionWorld.h>
#include <BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.h>
#include <BulletCollision/BroadphaseCollision/btDbvtBroadphase.h>
#include <LinearMath/btQuickprof.h>
#include <components/nifbullet/bulletnifloader.hpp>
#include <components/resource/resourcesystem.hpp>
#include <components/resource/bulletshapemanager.hpp>
#include <components/esm/loadgmst.hpp>
#include <components/sceneutil/positionattitudetransform.hpp>
#include <components/sceneutil/unrefqueue.hpp>
#include <components/nifosg/particle.hpp>
#include "../mwbase/world.hpp"
#include "../mwbase/environment.hpp"
#include "../mwmechanics/creaturestats.hpp"
#include "../mwmechanics/movement.hpp"
#include "../mwmechanics/actorutil.hpp"
#include "../mwworld/esmstore.hpp"
#include "../mwworld/cellstore.hpp"
#include "../mwrender/bulletdebugdraw.hpp"
#include "../mwworld/class.hpp"
#include "collisiontype.hpp"
#include "actor.hpp"
#include "convert.hpp"
#include "trace.h"
Classes | |
class | MWPhysics::Stepper |
class | MWPhysics::MovementSolver |
class | MWPhysics::HeightField |
class | MWPhysics::Object |
class | MWPhysics::DeepestNotMeContactTestResultCallback |
class | MWPhysics::ClosestNotMeRayResultCallback |
class | MWPhysics::ContactTestResultCallback |
Namespaces | |
MWPhysics | |
Functions | |
static bool | MWPhysics::isActor (const btCollisionObject *obj) |
template<class Vec3 > | |
static bool | MWPhysics::isWalkableSlope (const Vec3 &normal) |
static bool | MWPhysics::canStepDown (const ActorTracer &stepper) |
Variables | |
static const float | MWPhysics::sMaxSlope = 49.0f |
static const float | MWPhysics::sStepSizeUp = 34.0f |
static const float | MWPhysics::sStepSizeDown = 62.0f |
static const float | MWPhysics::sMinStep = 10.f |
static const int | MWPhysics::sMaxIterations = 8 |