nature-of-code / noc-book

The Nature of Code book (archived repo, see README for new repo / build system!)

Home Page:http://natureofcode.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chapter 5 toxiclibs function unknown

abauville opened this issue · comments

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

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!