raisim::Compound::CompoundObjectChild
struct · #include <raisim/object/singleBodies/Compound.hpp>
One primitive child of a compound.
Public attributes
childCompound
cpp
std::string childCompoundChild compound name (reserved, currently unused).
objectType
cpp
ObjectType objectTypeChild object type: BOX, CYLINDER, CAPSULE or SPHERE.
objectParam
cpp
Vec<4> objectParamChild shape parameters (m): BOX {x, y, z full lengths}, CYLINDER/CAPSULE {radius, height}, SPHERE {radius}; finite and positive (a capsule's height may be zero), fatal otherwise. Unused entries are ignored.
material
cpp
std::string materialMaterial name for contacts.
appearance
cpp
std::string appearanceAppearance material name for visualization.
trans
cpp
Transformation transPose of the child in the compound body frame.