Update: Custom Code - BK Flame - Before Render (dywmtohrda.js) 5 bytes modified
parent
9ca421aeaf
commit
cbd0f983b5
|
@ -149,14 +149,14 @@ if (this.spawningBullets === true) {
|
|||
var position = this.camera.position.instance.clone();
|
||||
var lookAt = this.camera.lookAt.instance.clone();
|
||||
|
||||
// var mInverse = new THREE.Matrix4().getInverse( this.sceneCrosshair.instance.matrixWorld );
|
||||
var mInverse = new THREE.Matrix4().getInverse( this.sceneCrosshair.instance.matrixWorld );
|
||||
|
||||
// position.applyMatrix4( mInverse );
|
||||
position.applyMatrix4( mInverse );
|
||||
|
||||
var geometry = new THREE.Geometry();
|
||||
geometry.vertices.push(
|
||||
new THREE.Vector3(
|
||||
0,
|
||||
position.x,
|
||||
position.y,
|
||||
position.z
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue