linearvelocity.rb

Path: lib/ode/linearvelocity.rb  (CVS)
Last Update: Wed Jul 27 19:46:00 EDT 2005

This file contains the ODE::LinearVelocity class. Instances of this class represent the velocity of a ODE::Body in an ODE::World simulation.

Synopsis

  # Are the two bodies moving in similar directions?
  body1.linearVelocity.almost_equal( body2.linearVelocity, 0.5 )

Authors

  • Michael Granger <ged@FaerieMUD.org>

Copyright © 2002, 2003 The FaerieMUD Consortium.

This work is licensed under the Creative Commons Attribution License. To view a copy of this license, visit creativecommons.org/licenses/by/1.0 or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.

Version

 $Id: linearvelocity.rb 91 2005-07-27 23:45:01Z ged $

Required files

ode/Vector  

[Validate]