Update: Custom Code - BK Flame - Before Render (dywmtohrda.js) 12 bytes modified
parent
4b981b5c43
commit
3137976351
|
@ -179,11 +179,11 @@ if (this.spawningBullets === true) {
|
||||||
|
|
||||||
var line = new THREE.Line( geometry, material );
|
var line = new THREE.Line( geometry, material );
|
||||||
|
|
||||||
line.position.set(
|
// line.position.set(
|
||||||
this.camera.position.x,
|
// this.camera.position.x,
|
||||||
this.camera.position.y,
|
// this.camera.position.y,
|
||||||
this.camera.position.z
|
// this.camera.position.z
|
||||||
)
|
// )
|
||||||
|
|
||||||
this.scene.instance.add( line );
|
this.scene.instance.add( line );
|
||||||
|
|
||||||
|
@ -200,7 +200,7 @@ if (this.spawningBullets === true) {
|
||||||
this.scene.instance.children.map(
|
this.scene.instance.children.map(
|
||||||
function(child) {
|
function(child) {
|
||||||
if (child instanceof THREE.Line) {
|
if (child instanceof THREE.Line) {
|
||||||
child.position.y -= 0.01;
|
// child.position.y -= 0.01;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue