Update: CC - Mouse Move - Moorcow (8a0m30eevi.js) 373 bytes modified
parent
e20cf3c7f3
commit
aef5c76c4b
|
@ -3,6 +3,13 @@ if (!this.entityLoaded) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.initialized) {
|
if (!this.initialized) {
|
||||||
|
this.mouse = this.entityLoaded.mouse;
|
||||||
|
this.raycaster = this.entityLoaded.raycaster;
|
||||||
|
this.camera = this.entityLoaded.camera;
|
||||||
|
this.scene = this.entityLoaded.scene;
|
||||||
|
this.cursor = this.entityLoaded.cursor;
|
||||||
|
this.thrower = this.entityLoaded.thrower;
|
||||||
|
this.throwerParticleEngine = this.entityLoaded.throwerParticleEngine;
|
||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -77,6 +84,8 @@ intersects.map(
|
||||||
mesh.name.indexOf('Stone') === -1 //stones
|
mesh.name.indexOf('Stone') === -1 //stones
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
if (this.mouseIsDown)
|
||||||
|
|
||||||
if (mesh.instance.material instanceof Array) {
|
if (mesh.instance.material instanceof Array) {
|
||||||
mesh.instance.material.map(
|
mesh.instance.material.map(
|
||||||
function(material) {
|
function(material) {
|
||||||
|
|
Loading…
Reference in New Issue