17 #ifndef GAZEBO_PHYSICS_BULLET_BULLETPLANESHAPE_HH_ 18 #define GAZEBO_PHYSICS_BULLET_BULLETPLANESHAPE_HH_ 57 this->collisionParent);
59 ignition::math::Vector3d n = this->Normal();
60 btVector3 vec(n.X(), n.Y(), n.Z());
62 bParent->SetCollisionShape(
new btStaticPlaneShape(vec, 0.0),
Bullet collisions.
Definition: BulletCollision.hh:43
Forward declarations for the common classes.
Definition: Animation.hh:26
boost::shared_ptr< BulletCollision > BulletCollisionPtr
Definition: BulletTypes.hh:39
virtual void CreatePlane()
Create the plane.
Bullet collision for an infinite plane.
Definition: BulletPlaneShape.hh:36
virtual void SetAltitude(const ignition::math::Vector3d &_pos)
Set the altitude of the plane.
BulletPlaneShape(CollisionPtr _parent)
Constructor.
Definition: BulletPlaneShape.hh:39
void CreatePlane()
Create the plane.
Definition: BulletPlaneShape.hh:52
Collision for an infinite plane.
Definition: PlaneShape.hh:37
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:113
void SetAltitude(const ignition::math::Vector3d &pos)
Set the altitude of the plane.
Definition: BulletPlaneShape.hh:46
virtual ~BulletPlaneShape()
Destructor.
Definition: BulletPlaneShape.hh:43