17 #ifndef GAZEBO_PHYSICS_BULLET_BULLETPLANESHAPE_HH_
18 #define GAZEBO_PHYSICS_BULLET_BULLETPLANESHAPE_HH_
56 this->collisionParent);
58 ignition::math::Vector3d n = this->Normal();
59 btVector3 vec(n.X(), n.Y(), n.Z());
61 bParent->SetCollisionShape(
new btStaticPlaneShape(vec, 0.0),
Bullet collisions.
Definition: BulletCollision.hh:43
virtual void SetAltitude(const math::Vector3 &_pos) GAZEBO_DEPRECATED(8.0)
Set the altitude of the plane.
boost::shared_ptr< BulletCollision > BulletCollisionPtr
Definition: BulletTypes.hh:42
virtual void CreatePlane()
Create the plane.
Bullet collision for an infinite plane.
Definition: BulletPlaneShape.hh:36
BulletPlaneShape(CollisionPtr _parent)
Constructor.
Definition: BulletPlaneShape.hh:39
void CreatePlane()
Create the plane.
Definition: BulletPlaneShape.hh:51
Collision for an infinite plane.
Definition: PlaneShape.hh:38
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:45
virtual ~BulletPlaneShape()
Destructor.
Definition: BulletPlaneShape.hh:42