Classes | Typedefs | Enumerations

sp::physics Namespace Reference

Namespace for physics simulations using NewtonGameDynamics library. More...

Classes

class  PhysicsBaseObject
class  DynamicPhysicsObject
struct  SPhysicsJointConstruct
class  PhysicsJoint
class  PhysicsMaterial
class  RigidBody
struct  SRigidBodyConstruction
 Rigid body construction data. More...
class  PhysicsSimulator
class  StaticPhysicsObject
class  NewtonBaseObject
class  NewtonDynamicsJoint
class  NewtonRigidBody
class  NewtonSimulator
 Third party library extension: "Newton Game Dynamics" (v.2.0) physics simulation engine. More...
class  NewtonStaticObject
class  PhysXBaseObject
class  PhysXJoint
class  PhysXMaterial
class  PhysXRigidBody
class  PhysXSimulator
class  PhysXStaticObject

Typedefs

typedef boost::function< void(DynamicPhysicsObject
*PhysicsObject) 
PhysicsGravityCallback )
typedef boost::function< void(const
dim::vector3df &Point, const
dim::vector3df &Normal, f32
Velocity)> 
PhysicsContactCallback

Enumerations

enum  EPhysicsJoints {
  JOINT_BALL, JOINT_HINGE, JOINT_SLIDER, JOINT_CORKSCREW,
  JOINT_UNIVERSAL
}
 

Rigid body joint types.

More...
enum  ERigidBodies {
  RIGIDBODY_BOX, RIGIDBODY_CONE, RIGIDBODY_SPHERE, RIGIDBODY_CYLINDER,
  RIGIDBODY_CHAMFERCYLINDER, RIGIDBODY_CAPSULE, RIGIDBODY_MESH, RIGIDBODY_CUSTOM
}
 

Rigid body types.

More...
enum  EPhysicsSimulators { SIMULATOR_NEWTON, SIMULATOR_PHYSX, SIMULATOR_BULLET }
 

Physics simulator types.

More...

Detailed Description

Namespace for physics simulations using NewtonGameDynamics library.


Typedef Documentation

typedef boost::function<void (const dim::vector3df &Point, const dim::vector3df &Normal, f32 Velocity)> sp::physics::PhysicsContactCallback
typedef boost::function<void (DynamicPhysicsObject* PhysicsObject) sp::physics::PhysicsGravityCallback)

Enumeration Type Documentation

Rigid body joint types.

Enumerator:
JOINT_BALL 
JOINT_HINGE 

Can be used for a rope.

JOINT_SLIDER 

Can be used for a door.

JOINT_CORKSCREW 

Can be used for a sliding object.

JOINT_UNIVERSAL 

Can be used for a sliding and rotating object.

Physics simulator types.

Enumerator:
SIMULATOR_NEWTON 

NewtonGameDynamics.

SIMULATOR_PHYSX 

NVIDIA PhysX.

SIMULATOR_BULLET 

Bullet Physics.

Rigid body types.

Enumerator:
RIGIDBODY_BOX 

Normal box.

RIGIDBODY_CONE 

Normal cone.

RIGIDBODY_SPHERE 

Normal sphere.

RIGIDBODY_CYLINDER 

Normal cylinder.

RIGIDBODY_CHAMFERCYLINDER 

Cylinder with smooth edges at top and bottom.

RIGIDBODY_CAPSULE 

Cylinder with half spheres at top and bottom.

RIGIDBODY_MESH 

Universal mesh object.

RIGIDBODY_CUSTOM 

Custom rigid body. Used for inherited classes of physics::RigidBody.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines