improve belt rotation (still buggy)
This commit is contained in:
parent
63550dd325
commit
43acc4e652
3 changed files with 20 additions and 8 deletions
|
|
@ -27,8 +27,8 @@
|
|||
|
||||
rotate(set) {
|
||||
this.view.rotation.x = -set.angle * (Math.PI/180);
|
||||
this.view.position.y = -set.centerz + set.movez;
|
||||
this.view.position.z = -set.movez/2;
|
||||
this.view.position.y += -set.dy;
|
||||
this.view.position.z += -set.dz;
|
||||
}
|
||||
|
||||
destroy() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue