Peasy-library cam.setRotations() bug?
in
Contributed Library Questions
•
2 years ago
I've been playing around with the peasy-library a little bit and it's working great except this little bug (at least I suppose it's a bug, as I cannot figure out any use for it). When I turn the cube (the only object on the stage) with the mouse everything is working great, but when I wanted to do so with the keyboard with this code
Thx in advance
Peter
- if(keyCode==LEFT) {
cam.setRotations(cam.getRotations()[0],cam.getRotations()[1]+.05,cam.getRotations()[2]);
}
Thx in advance
Peter
1