esp/physics/RigidObject.h file

Class esp::physics::RigidObject, enum esp::physics::MotionType, enum esp::physics::RigidObjectType, struct VelocityControl.

Contents

Namespaces

namespace esp
Root namespace.
namespace esp::assets
Asset management namespace.
namespace esp::physics
core physics simulation namespace

Classes

struct esp::physics::VelocityControl
Convenience struct for applying constant velocity control to a rigid body.
class esp::physics::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.

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.
enum class RigidObjectType { NONE, SCENE, OBJECT }
Category of a RigidObject. Defines treatment of the object in PhysicsManager. Also denotes the status of an object as initialized or not.