raisim::rscene::Physics
struct · #include <raisim/Rscene.hpp>
Solver settings from the time_step, gravity, solver and contact_material records. applyPhysics() applies them.
Public attributes
timeStep
double timeStepSimulation time step (s).
gravity
Vec3 gravityGravity in the world frame (m/s^2).
solverIterations
int solverIterationsSolver iteration count. Used as contactMaxIterations unless the file sets a non-default contact value.
solverTolerance
double solverTolerancesolverTolerance: used as contactThreshold unless the file sets a non-default contact value. erp, erp2: passed to World::setERP().
erp
double erperp2
double erp2defaultFriction
double defaultFrictionDefault material (friction, restitution, restitution threshold in m/s), passed to World::setDefaultMaterial().
defaultRestitution
double defaultRestitutiondefaultRestitutionThreshold
double defaultRestitutionThresholddefaultStaticFriction
double defaultStaticFrictionDefault static friction coefficient and its transition speed (m/s).
defaultStaticFrictionVelocityThreshold
double defaultStaticFrictionVelocityThresholddefaultRollingFriction
double defaultRollingFrictionDefault rolling and spinning friction coefficients.
defaultSpinningFriction
double defaultSpinningFrictioncontactAlphaInit
double contactAlphaInitContact solver alphas, passed to World::setContactSolverParam() (which ignores them).
contactAlphaMin
double contactAlphaMincontactAlphaDecay
double contactAlphaDecaycontactMaxIterations
int contactMaxIterationsMaximum contact solver iterations, passed to World::setContactSolverParam().
contactThreshold
double contactThresholdContact solver termination threshold, passed to World::setContactSolverParam().
contact
::contact::ContactSettings contactContact detection settings, passed to World::setContactSettings().
sleepingEnabled
bool sleepingEnabledSee World::setSleepingEnabled().
sleepingLinearVelocityThreshold
double sleepingLinearVelocityThresholdSleeping speed thresholds (m/s, rad/s), see World::setSleepingParameters().
sleepingAngularVelocityThreshold
double sleepingAngularVelocityThresholdsleepingQuietSteps
int sleepingQuietStepsConsecutive quiet steps before sleeping, see World::setSleepingParameters().
worldTime
double worldTimeInitial world time (s).
fixedContactSolverIterationOrder
bool fixedContactSolverIterationOrderSee World::setContactSolverIterationOrder().
contactMaterials
std::vector<ContactMaterial> contactMaterialsMaterial pairs, applied in file order after the default material.