class
#include <esp/assets/Attributes.h>
PhysicsManagerAttributes attributes for a single physics manager
Contents
Base classes
- class AbstractAttributes
- Base class for all implemented attributes.
Constructors, destructors, conversion operators
-
PhysicsManagerAttributes(const std::
string& handle = "")
Public functions
-
void setSimulator(const std::
string& simulator) -
auto getSimulator() const -> std::
string - void setTimestep(double timestep)
- auto getTimestep() const -> double
- void setMaxSubsteps(int maxSubsteps)
- auto getMaxSubsteps() const -> int
-
void setGravity(const Magnum::
Vector3& gravity) -
auto getGravity() const -> Magnum::
Vector3 - void setFrictionCoefficient(double frictionCoefficient)
- auto getFrictionCoefficient() const -> double
- void setRestitutionCoefficient(double restitutionCoefficient)
- auto getRestitutionCoefficient() const -> double