class
ManagedRigidObjectClass describing wrapper for RigidObject constructions. Provides bindings for all RigidObject-specific functionality.
Base classes
-
template<class T>class AbstractManagedRigidBase<esp::physics::RigidObject>
- Class template describing wrapper for RigidBase constructions. Provides bindings for all RigidBase functionality.
Derived classes
- class ManagedBulletRigidObject
- Class describing wrapper for RigidObject constructions. Provides bindings for all RigidObject-specific functionality.
Constructors, destructors, conversion operators
-
ManagedRigidObject(const std::
string& classKey = "ManagedRigidObject") explicit
Public functions
-
auto getInitializationAttributes() const -> std::
shared_ptr<metadata:: attributes:: ObjectAttributes> - Get a copy of the template attributes describing the initial state of this object. These attributes have the combination of date from the original object attributes and specific instance attributes used to create this object. Note : values will reflect both sources, and should not be saved to disk as object attributes, since instance attribute modifications will still occur on subsequent loads.
-
auto getUncorrectedTranslation() const -> Magnum::
Vector3 - Return the uncorrected translation (only different if COM correction has occurred)
- auto getVelocityControl() -> VelocityControl::ptr
Protected functions
-
auto getRigidBaseInfoHeaderInternal() const -> std::
string override - Retrieve a comma-separated string holding the header values for the info returned for this managed object, rigid-base-specific. TODO : once Magnum supports retrieving key-values of configurations, use that to build this data.
-
auto getRigidBaseInfoInternal(std::
shared_ptr<esp:: physics:: RigidObject>& sp) const -> std:: string override - Specialization-specific extension of getPhysObjInfoInternal, comma separated info ideal for saving to csv information about RigidBase constructs.