phetsims / pendulum-lab

"Pendulum Lab" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
4 stars 10 forks source link

Height/velocity inconsistencies with Pendulum.js #31

Closed jonathanolson closed 9 years ago

jonathanolson commented 9 years ago

It seems pendulum.height is a property that always has the value 0, but pendulum.getHeight() returns the anticipated value. Same with velocity.

This should be fixed so that we don't have incorrect values (feel free to remove the unused properties from the pendulum).

andrey-zelenkov commented 9 years ago

Removed unused properties from the pendulum. Reassign to @jonathanolson for verification.

jonathanolson commented 9 years ago

Looks good, thanks!