raisim::Explosion
struct · #include <raisim/Explosion.hpp>
An explosion the world has set off.
Public attributes
id
cpp
size_t idIncreasing identifier, unique within the world.
position
cpp
Vec<3> positionPosition of the charge in the world frame (m).
time
cpp
double timeWorld time of the detonation (s).
properties
cpp
ExplosionProperties propertiesThe properties it was set off with.
projectileId
cpp
size_t projectileIdIdentifier of the projectile that set it off, or size_t(-1).