#include <passivecapsule.h>
Inherits AbstractObstacle.
Inheritance diagram for PassiveCapsule:


Public Member Functions | |
| PassiveCapsule (const OdeHandle &odeHandle, const OsgHandle &osgHandle, float radius=1.0, float height=1.0, double mass=1.0) | |
| Constructor. | |
| ~PassiveCapsule () | |
| virtual void | update () |
| update position of box | |
| virtual void | setTexture (const std::string &filename) |
| virtual void | setPose (const osg::Matrix &pose) |
| sets position of the obstacle and creates/recreates obstacle if necessary | |
| virtual Primitive * | getMainPrimitive () const |
Protected Member Functions | |
| virtual void | create () |
| virtual void | destroy () |
Private Attributes | |
| float | radius |
| float | height |
| double | mass |
| Capsule * | capsule |
|
||||||||||||||||||||||||
|
Constructor.
|
|
|
|
|
|
Implements AbstractObstacle.
|
|
|
Implements AbstractObstacle.
|
|
|
Implements AbstractObstacle.
|
|
|
sets position of the obstacle and creates/recreates obstacle if necessary
Implements AbstractObstacle.
|
|
|
|
|
|
update position of box
Implements AbstractObstacle.
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.8