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
Forward declarations for the common classes.
Definition: Animation.hh:33
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
boost::shared_ptr< BulletCollision > BulletCollisionPtr
Definition: BulletTypes.hh:40
virtual void CreatePlane()
Create the plane.
Bullet collision for an infinite plane.
Definition: BulletPlaneShape.hh:41
void SetAltitude(const math::Vector3 &pos)
Set the altitude of the plane.
Definition: BulletPlaneShape.hh:50
BulletPlaneShape(CollisionPtr _parent)
Constructor.
Definition: BulletPlaneShape.hh:44
void CreatePlane()
Create the plane.
Definition: BulletPlaneShape.hh:56
virtual void SetAltitude(const math::Vector3 &_pos)
Set the altitude of the plane.
Collision for an infinite plane.
Definition: PlaneShape.hh:42
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:104
virtual ~BulletPlaneShape()
Destructor.
Definition: BulletPlaneShape.hh:47