Okay, I am such an idiot. Did some things, everyone does when he has no idea what went wrong - change a few parameters and hope it works. It shure did
For everyone having similar problems; the code must be like
Thanks for helping me so much
For everyone having similar problems; the code must be like
Code Select
public void strafeLeft() {
moving.add(new SimpleVector(xangle.x * (-1), 0, xangle.z));
}
public void strafeRight() {
moving.add(new SimpleVector(xangle.x, 0, xangle.z * (-1)));
}
public void forward() {
moving.add(new SimpleVector(zangle.x * (-1), 0, zangle.z));
}
public void backward() {
moving.add(new SimpleVector(zangle.x, 0, zangle.z * (-1)));
}
Only one parameter needs to be reverted.Thanks for helping me so much