raisim::Projectile
struct · #include <raisim/Explosion.hpp>
A projectile in flight.
Public attributes
id
cpp
size_t idIncreasing identifier, unique within the world.
position
cpp
Vec<3> positionPosition in the world frame (m).
velocity
cpp
Vec<3> velocityVelocity in the world frame (m/s).
launchTime
cpp
double launchTimeWorld time of the launch (s).
launchPosition
cpp
Vec<3> launchPositionPosition and velocity at the launch, in the world frame (m, m/s).
launchVelocity
cpp
Vec<3> launchVelocityproperties
cpp
ProjectileProperties propertiesThe properties it was launched with.