This plugin enables collisions on an Actor, and optionally applies a scaling factor and pose offset to each of the Actor's box collisions. Collisions only work on enabled objects. ODE has a auto-disable feature that "disables" an object when it comes to rest. An actor will pass through these objects. More...
#include <ActorCollisionsPlugin.hh>
Public Member Functions | |
ActorCollisionsPlugin () | |
Constructor. More... | |
virtual void | Load (physics::ModelPtr _model, sdf::ElementPtr _sdf) |
Load the actor plugin. More... | |
This plugin enables collisions on an Actor, and optionally applies a scaling factor and pose offset to each of the Actor's box collisions. Collisions only work on enabled objects. ODE has a auto-disable feature that "disables" an object when it comes to rest. An actor will pass through these objects.
See actor_collisions.world for an example world file.
Definition at line 34 of file ActorCollisionsPlugin.hh.
ActorCollisionsPlugin::ActorCollisionsPlugin | ( | ) |
Constructor.
Definition at line 31 of file ActorCollisionsPlugin.cc.
|
virtual |
Load the actor plugin.
[in] | _model | Pointer to the parent model. |
[in] | _sdf | Pointer to the plugin's SDF elements. |
Definition at line 36 of file ActorCollisionsPlugin.cc.