BulletMotionState Class Reference

Bullet btMotionState encapsulation. More...

#include <BulletMotionState.hh>

Inherits btMotionState.

Public Member Functions

 BulletMotionState (LinkPtr _link)
 Constructor. More...
 
virtual ~BulletMotionState ()
 Destructor. More...
 
virtual void getWorldTransform (btTransform &_cogWorldTrans) const
 Get the world transform of the body at the center of gravity. More...
 
virtual void setWorldTransform (const btTransform &_cogWorldTrans)
 Set the world transform of the body at the center of gravity. More...
 

Detailed Description

Bullet btMotionState encapsulation.

Constructor & Destructor Documentation

◆ BulletMotionState()

BulletMotionState ( LinkPtr  _link)
explicit

Constructor.

◆ ~BulletMotionState()

virtual ~BulletMotionState ( )
virtual

Destructor.

Member Function Documentation

◆ getWorldTransform()

virtual void getWorldTransform ( btTransform &  _cogWorldTrans) const
virtual

Get the world transform of the body at the center of gravity.

Parameters
[out]_cogWorldTransPose of body center of gravity.

◆ setWorldTransform()

virtual void setWorldTransform ( const btTransform &  _cogWorldTrans)
virtual

Set the world transform of the body at the center of gravity.

Parameters
[in]_cogWorldTransPose of body center of gravity.

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