#now that its facing it still doesnt fire

1 messages · Page 1 of 1 (latest)

pale bobcat
#

share your code again

agile lagoon
#

here

pale bobcat
#

Show your bullet prefab, with the axis so we can see if it's pointing down Z

agile lagoon
#

ok

#

just a sec

#

its facing the correct direction

pale bobcat
#

now, does this have code on it ?

agile lagoon
#

yes

#

this always used to work

pale bobcat
#

Unrelated, but don't do GetComponent<T> in Update()
1- it's not needed for cases like this
2- it's expensive

Move
RB = GetComponent<Rigidbody>();

into
private void Awake() { }

agile lagoon
#

thanks

pale bobcat
#

can you show a video of the issue and setup now, click on the various objects involved, showing their axis. Record the entire editor window while you do

agile lagoon
#

the game now works

#

thanks

#

i have returned to unity after 2 months

#

so i forgot some stuff