virtual void GetIntersection(double &_dist, std::string &_entity)
Get the nearest intersection.
virtual void Update()
Update the ray collision.
virtual ~SimbodyRayShape()
Destructor.
Ray shape for simbody.
Definition: SimbodyRayShape.hh:33
virtual 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.
SimbodyRayShape(PhysicsEnginePtr _physicsEngine)
Constructor.
boost::shared_ptr< SimbodyPhysics > SimbodyPhysicsPtr
Definition: SimbodyTypes.hh:40