raisim::FluidSample
struct · #include <raisim/Fluid.hpp>
The liquid of a FluidVolume where a body is: its surface over the body and its velocity there.
Public attributes
surfaceHeight
cpp
double surfaceHeightHeight of the free surface over the point [m].
surfaceNormal
cpp
Vec<3> surfaceNormalNormal of the free surface there (normalized when used), in the world frame; a wave tilts it.
velocity
cpp
Vec<3> velocityVelocity of the liquid at the point [m/s], in the world frame.
acceleration
cpp
Vec<3> accelerationAcceleration of the liquid passing the point [m/s^2], in the world frame, as in waves: its change there plus that of moving along, du/dt + (grad u) u. The liquid that accelerates pushes a body as it pushes the liquid the body displaces, and carries its added mass.