Page 1 of 1

RUBE case study: soft wheels for version 1.5.2

Posted: Tue Nov 18, 2014 8:44 am
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

Re: RUBE case study: soft wheels for version 1.5.2

Posted: Wed Nov 19, 2014 2:30 am
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.)