nature-of-code / noc-book

The Nature of Code book (archived repo, see README for new repo / build system!)
http://natureofcode.com
1.94k stars 365 forks source link

Chapter 5 toxiclibs function unknown #165

Closed abauville closed 5 years ago

abauville commented 5 years ago

The line physics.addBehavior(new GravityBehavior(new Vec2D(0,0.5)));

returns "The class "GravityBehavior" does not exist" It works fine with GravityBehavior2D, instead Using processing 3.5.3 and the version of toxiclibs from the library

shiffman commented 5 years ago

I believe this has been fixed in https://github.com/nature-of-code/noc-examples-processing, if not please feel free to flag an issue there!