#yep but for some reason it didnt respond

1 messages · Page 1 of 1 (latest)

sullen arch
#

You need to configure something to actually call that function. Can you show me the inspector for the object that this stuff is attached to?

sullen arch
#

that's not the inspector

sturdy wraith
#

new input

sullen arch
#

that is the window for configuring an input action asset

#

i am talking about the object that has this P_Controller script attached to it

sturdy wraith
#

oh. its on the same object that i wanted it to rotate haha

#

all in one object

sullen arch
#

okay, so if you're using Send Messages, then the name of the function will need to be very specific

#

OnRotateBool

#

Send Messages works by checking if each component on the object has a method with a specific name and, if so, calling it

sturdy wraith
#

ok i'll try!

#

thank you!!

sullen arch
#

any time that it seems like "magic" -- where you don't have to configure exactly what to do -- the names become very important