RUBE case study: soft wheels for version 1.5.2

General discussion about Box2D tutorials
Post Reply
umen242
Posts: 5
Joined: Sat Dec 28, 2013 7:54 pm

RUBE case study: soft wheels for version 1.5.2

Post by umen242 »

Hey
im following the great tutorial about soft wheels
and i have the 1.5.2 version .
i wander what is the replacment for this line in the script to support version 1.5.2?

Code: Select all

j.setLocalAxis(j.getLocalAxis().rotatedBy(dr(angle)));
Thanks
iforce2d
Site Admin
Posts: 861
Joined: Sat Dec 22, 2012 7:20 pm

Re: RUBE case study: soft wheels for version 1.5.2

Post by iforce2d »

There isn't a replacement, that's why I said you need the newer version :)
Is there some reason you can't download the latest version of the program?

(Technically, you could make a replacement for the rotatedBy function quite easily, but the getLocalAxis() function was simply not present in 1.5.2 and can't be replaced by making your own function.)
Post Reply