22 #ifndef _BULLETPLANESHAPE_HH_
23 #define _BULLETPLANESHAPE_HH_
61 this->collisionParent);
64 btVector3 vec(n.x, n.y, n.z);
66 bParent->SetCollisionShape(
new btStaticPlaneShape(vec, 0.0),
Bullet collisions.
Definition: BulletCollision.hh:53
#define GZ_PHYSICS_VISIBLE
Definition: system.hh:259
void CreatePlane()
Create the plane.
Definition: BulletPlaneShape.hh:56
virtual void SetAltitude(const math::Vector3 &_pos)
Set the altitude of the plane.
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
BulletPlaneShape(CollisionPtr _parent)
Constructor.
Definition: BulletPlaneShape.hh:44
Bullet collision for an infinite plane.
Definition: BulletPlaneShape.hh:41
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:104
virtual ~BulletPlaneShape()
Destructor.
Definition: BulletPlaneShape.hh:47
void SetAltitude(const math::Vector3 &pos)
Set the altitude of the plane.
Definition: BulletPlaneShape.hh:50
virtual void CreatePlane()
Create the plane.
boost::shared_ptr< BulletCollision > BulletCollisionPtr
Definition: BulletTypes.hh:40
Collision for an infinite plane.
Definition: PlaneShape.hh:41