esp::physics namespace

core physics simulation namespace

Contents

Classes

class BulletBase
This class is intended to implement bullet-specific.
class BulletPhysicsManager
Dynamic scene and object manager interfacing with Bullet physics engine: https://github.com/bulletphysics/bullet3.
class BulletRigidObject
An individual rigid object instance implementing an interface with Bullet physics to enable dynamic objects. See btRigidBody for RigidObjectType::OBJECT.
class BulletRigidScene
An individual rigid scene instance implementing an interface with Bullet physics to enable dynamics. See btCollisionObject.
class PhysicsManager
Kinematic and dynamic scene and object manager.
struct RaycastResults
Holds information about all ray hit instances from a ray cast.
struct RayHitInfo
Holds information about one ray hit instance.
class RigidBase
class RigidObject
An AbstractFeature3D representing an individual rigid object instance attached to a SceneNode, updating its state through simulation. This may be a MotionType::STATIC scene collision geometry or an object of any MotionType which can interact with other members of a physical world. Must have a collision mesh. By default, a RigidObject is MotionType::KINEMATIC without an underlying simulator implementation. Derived classes can be used to introduce specific implementations of dynamics.
class RigidScene
struct SimulationContactResultCallback
Implements Bullet physics btCollisionWorld::ContactResultCallback interface.
struct VelocityControl
Convenience struct for applying constant velocity control to a rigid body.

Enums

enum class MotionType { ERROR_MOTIONTYPE, STATIC, KINEMATIC, DYNAMIC }
Motion type of a RigidObject. Defines its treatment by the simulator and operations which can be performed on it.

Functions

void initPhysicsBindings(pybind11::module& m)

Enum documentation

enum class esp::physics::MotionType

Motion type of a RigidObject. Defines its treatment by the simulator and operations which can be performed on it.

Enumerators
ERROR_MOTIONTYPE

Refers to an error (such as a query to non-existing object).

STATIC

The object is not expected to move and should not allow kinematic updates. Likely treated as static collision geometry. See RigidObjectType::SCENE.

KINEMATIC

The object is expected to move kinematically, but is not simulated. Default behavior of RigidObject with no physics simulator defined.

DYNAMIC

The object is simulated and can, but should not be, updated kinematically . Default behavior of RigidObject with a physics simulator defined. See BulletRigidObject.

Function documentation

void esp::physics::initPhysicsBindings(pybind11::module& m)