18#ifndef GAZEBO_PHYSICS_BULLET_BULLETRAYSHAPE_HH_
19#define GAZEBO_PHYSICS_BULLET_BULLETRAYSHAPE_HH_
55 public:
void SetPoints(
const ignition::math::Vector3d &_posStart,
56 const ignition::math::Vector3d &_posEnd);
Ray shape for bullet.
Definition BulletRayShape.hh:35
BulletRayShape(CollisionPtr _collision)
Constructor.
void SetPoints(const ignition::math::Vector3d &_posStart, const ignition::math::Vector3d &_posEnd)
Set the ray based on starting and ending points relative to the body.
BulletRayShape(PhysicsEnginePtr _physicsEngine)
virtual ~BulletRayShape()
Destructor.
virtual void GetIntersection(double &_dist, std::string &_entity)
Get the nearest intersection.
virtual void Update()
Update the ray collision.
Base class for Ray collision geometry.
Definition RayShape.hh:36
boost::shared_ptr< PhysicsEngine > PhysicsEnginePtr
Definition PhysicsTypes.hh:125
boost::shared_ptr< Collision > CollisionPtr
Definition PhysicsTypes.hh:113
boost::shared_ptr< BulletPhysics > BulletPhysicsPtr
Definition BulletTypes.hh:44
Forward declarations for the common classes.
Definition Animation.hh:27