Page 1 of 1

Mass should be bigger than zero

Posted: Mon Jun 22, 2009 5:19 pm
by imtrobin
Hi

Just like to report, the mass pass in should be bigger than zero, and I think there should be an assertion to catch these invalid values. When I pass in 0 for mass, it creates but somewhere later, there is a Nan exception.

Re: Mass should be bigger than zero

Posted: Mon Jun 22, 2009 7:06 pm
by Norbo
Thanks; I plan to add in some additional input protection in various functions and around the update method to catch common errors and provide suggestions in the upcoming version.