Menu

Boid's direction ???????

Dany
2010-02-10
2013-04-30
  • Dany

    Dany - 2010-02-10

    Hello I wanted to ask if Boido have a direction.
    The direction is a property such as Speed, Radius or does not exist?

     
  • Craig Reynolds

    Craig Reynolds - 2010-02-10

    The forward() member function of AbstractVehicle returns a unit vector in the direction the Boid is pointing. The velocity() function returns the forward vector times speed

     

Log in to post a comment.

MongoDB Logo MongoDB