Update: CC - SnailRunner - Before Render (94xi7aitax.js) 12 bytes modified
parent
61ba01067d
commit
388bf9fac6
|
@ -49,9 +49,9 @@ this.sections.map(
|
||||||
);
|
);
|
||||||
|
|
||||||
if (this.camera.position.z < this.snail.position.z) {
|
if (this.camera.position.z < this.snail.position.z) {
|
||||||
this.camera.position.z += data.delta * 0.1;
|
this.camera.position.z += data.delta;
|
||||||
} else {
|
} else {
|
||||||
this.camera.position.z -= data.delta * 0.1;
|
this.camera.position.z -= data.delta;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.camera.updateInstance('position');
|
this.camera.updateInstance('position');
|
||||||
|
|
Loading…
Reference in New Issue