OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Static Public Member Functions | Static Private Member Functions | List of all members
MWPhysics::MovementSolver Class Reference
Collaboration diagram for MWPhysics::MovementSolver:

Static Public Member Functions

static osg::Vec3f traceDown (const MWWorld::Ptr &ptr, Actor *actor, btCollisionWorld *collisionWorld, float maxHeight)
 
static osg::Vec3f move (osg::Vec3f position, const MWWorld::Ptr &ptr, Actor *physicActor, const osg::Vec3f &movement, float time, bool isFlying, float waterlevel, float slowFall, const btCollisionWorld *collisionWorld, std::map< MWWorld::Ptr, MWWorld::Ptr > &standingCollisionTracker)
 

Static Private Member Functions

static osg::Vec3f project (const osg::Vec3f &u, const osg::Vec3f &v)
 Project a vector u on another vector v. More...
 
static osg::Vec3f slide (const osg::Vec3f &direction, const osg::Vec3f &planeNormal)
 Helper for computing the character sliding. More...
 
static osg::Vec3f reflect (const osg::Vec3 &velocity, const osg::Vec3f &normal)
 

Member Function Documentation

static osg::Vec3f MWPhysics::MovementSolver::move ( osg::Vec3f  position,
const MWWorld::Ptr ptr,
Actor physicActor,
const osg::Vec3f &  movement,
float  time,
bool  isFlying,
float  waterlevel,
float  slowFall,
const btCollisionWorld *  collisionWorld,
std::map< MWWorld::Ptr, MWWorld::Ptr > &  standingCollisionTracker 
)
inlinestatic

Here is the call graph for this function:

Here is the caller graph for this function:

static osg::Vec3f MWPhysics::MovementSolver::project ( const osg::Vec3f &  u,
const osg::Vec3f &  v 
)
inlinestaticprivate

Project a vector u on another vector v.

Here is the caller graph for this function:

static osg::Vec3f MWPhysics::MovementSolver::reflect ( const osg::Vec3 &  velocity,
const osg::Vec3f &  normal 
)
inlinestaticprivate
static osg::Vec3f MWPhysics::MovementSolver::slide ( const osg::Vec3f &  direction,
const osg::Vec3f &  planeNormal 
)
inlinestaticprivate

Helper for computing the character sliding.

Here is the call graph for this function:

Here is the caller graph for this function:

static osg::Vec3f MWPhysics::MovementSolver::traceDown ( const MWWorld::Ptr ptr,
Actor actor,
btCollisionWorld *  collisionWorld,
float  maxHeight 
)
inlinestatic

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file: