Update: CC - SnailRunner - Entity Loaded (78gnds8jrj.js) 196 bytes modified

beta.r3js.org
-=yb4f310 2018-03-09 19:08:22 +01:00
parent 0cc3349e7b
commit f90d7a7fff
1 changed files with 8 additions and 0 deletions

View File

@ -25,6 +25,14 @@ this.treesRight = GameLib.EntityManager.Instance.findComponentById('oag0yr1rav')
this.road = GameLib.EntityManager.Instance.findComponentById('4furha3wst');
this.sun = GameLib.EntityManager.Instance.findComponentById('nkdyvga5nl');
/**
* Lights
*/
this.spotLight = GameLib.EntityManager.Instance.findComponentById('abkdj2g1f1');
this.spotLight.position.setFrom(this.sun.position);
this.spotLight.updateInstance('position');
/**
* Road Sections and Clouds
*/