schteppe / p2.js

JavaScript 2D physics library
Other
2.63k stars 329 forks source link

Demo's motors don't work because of outdated variables #292

Open krogank9 opened 7 years ago

krogank9 commented 7 years ago

When I fired up the demos on my own mirror of your github site all the motors were broken in the demos, in your github.io version they work fine so I checked and saw you used these setter functions rather than setting by variables, so I changed it and now it works

schteppe commented 7 years ago

Did you try building the library first? I'm pretty sure that should work with an up-to-date build...

krogank9 commented 7 years ago

Thanks it works. I was using the ones already in the build folder