Skip to content

raisim::Explosion ​

struct · #include <raisim/Explosion.hpp>

An explosion the world has set off.

Public attributes ​

id ​

cpp
size_t id

Increasing identifier, unique within the world.

position ​

cpp
Vec<3> position

Position of the charge in the world frame (m).

time ​

cpp
double time

World time of the detonation (s).

properties ​

cpp
ExplosionProperties properties

The properties it was set off with.

projectileId ​

cpp
size_t projectileId

Identifier of the projectile that set it off, or size_t(-1).

RaiSim — physics for robotics and AI.