raisim::Rasset::InstanceOptions
struct · #include <raisim/Rasset.hpp>
Placement and physics options of one instance (see instantiate()).
Public attributes
position
cpp
std::array<double, 3> positionInstance position in the world frame (m).
quaternion
cpp
std::array<double, 4> quaternionInstance orientation (w, x, y, z); must be a unit quaternion.
scale
cpp
double scaleUniform scale applied to collider sizes and offsets; must be positive.
bodyType
cpp
BodyType bodyTypeBody type of every created body.
mass
cpp
double massMass (kg) given to each created body; must be positive.
name
cpp
std::string nameName of the first body; further bodies are named "\<name\> collision \<i\>". Empty leaves names unset.
material
cpp
std::string materialContact material of every created body.
collisionGroup
cpp
CollisionGroup collisionGroupCollision group of every created body.
collisionMask
cpp
CollisionGroup collisionMaskCollision mask of every created body.