RobWorkProject  23.9.11-
Public Member Functions | Public Attributes | List of all members
BtBody::BodyMetaData Struct Reference

Data structure to attach to bullet bodies, allowing friction and restitution to be specified separately for each pair of bodies. More...

#include <BtBody.hpp>

Public Member Functions

 BodyMetaData (const rw::kinematics::Frame *frame, const BtMaterial *material)
 Constructor. More...
 
 ~BodyMetaData ()
 Destructor.
 

Public Attributes

const rw::kinematics::Frame *const frame
 The body frame.
 
const BtMaterial *const material
 Material info (friction and restitution parameters).
 

Detailed Description

Data structure to attach to bullet bodies, allowing friction and restitution to be specified separately for each pair of bodies.

Constructor & Destructor Documentation

◆ BodyMetaData()

BodyMetaData ( const rw::kinematics::Frame frame,
const BtMaterial material 
)

Constructor.

Parameters
frame[in] the body frame.
material[in] the BtMaterial (the map, and information about the material of this specific body).

The documentation for this struct was generated from the following file: