Update: CC - SnailRunner - Mouse Move (8nu6b5p9pb.js) 126 bytes modified
parent
8c79b80ed7
commit
e60113c39b
|
@ -4,6 +4,7 @@ if (!this.entityLoaded) {
|
|||
|
||||
if (!this.initialized) {
|
||||
this.snail = this.entityLoaded.snail;
|
||||
this.solar = this.entityLoaded.solar;
|
||||
this.initialized = true;
|
||||
}
|
||||
|
||||
|
@ -17,6 +18,9 @@ if (this.snail.position.z > 0.1) {
|
|||
this.snail.position.z = 0.1;
|
||||
}
|
||||
|
||||
this.solar.position.z = this.snail.position.z;
|
||||
|
||||
this.snail.updateInstance('position');
|
||||
this.solar.updateInstance('position');
|
||||
|
||||
//@ sourceURL=mouseMove.js
|
Loading…
Reference in New Issue