#reffer

1 messages · Page 1 of 1 (latest)

gaunt oracle
#

reffer69 come here

open pawn
#

yo

gaunt oracle
#

yo

#

so

#

like, in the script...

#

although

#

what is active gun script and where does firePoint's rotation changes

open pawn
gaunt oracle
open pawn
gaunt oracle
#

nice

#

aight

#

hmm

#

so, its x axis doesnt change right

#

its just the player, that is rotating in the x axis

#

but when it comes to y axis

open pawn
#

I seems to shoot on z axis

#

along the blue line

gaunt oracle
#

i think that may be the problem

#

can you send the inspector part

#

of both

#

you there>

#

?

open pawn
#

its rotating on the y axis .

#

watch the transform component y axis only changes values

#

close to the end you'll see it

gaunt oracle
#

so you change a game objects x axis which contains the camera and the guns and shi right

open pawn
#

I fixed it

#

I passed in the camera's rotation for the instantiation

#

Now it shoots where ever I " Look "

gaunt oracle
#

yeah, nice

open pawn
#

Thank you for your help..

#

This project is slated for publication, but It's also serving as a learning tool for networking so I can add multilayer to my published game