2018-04-10 15:48:32 +02:00
|
|
|
var mesh = R3.EntityManager.Instance.findComponentById('5odj0hpf2z');
|
2017-11-23 09:03:07 +01:00
|
|
|
|
|
|
|
if (!this.initialized) {
|
|
|
|
this.initialized = true;
|
|
|
|
this.time = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (mesh) {
|
|
|
|
this.time += data.delta;
|
|
|
|
mesh.rotation.y = Math.sin(this.time);
|
|
|
|
mesh.updateInstance('rotation');
|
|
|
|
}
|
|
|
|
//@ sourceURL=CustomCode (lwk5t658ne).js
|