Skip to content

raisim::World::Checkpoint ​

class · #include <raisim/World.hpp>

An immutable, reusable in-memory checkpoint of this world's runtime state.

Constructors & destructor ​

Checkpoint ​

cpp
Checkpoint() = default

Public member functions ​

operator bool ​

cpp
explicit operator bool() const

Returns true if this checkpoint holds captured data (false for a default-constructed one)

getWorldTime ​

cpp
double getWorldTime() const

Returns the world time (s) at capture, or 0 for an empty checkpoint

RaiSim — physics for robotics and AI.