Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | fefinfon |
I know there are questions asking for similar but I think this is more specific.
I have a player node with its own script and other node (wich is a boomerang) with its own script too. So when i press the mouse click button, the boomerang script will execute (throwing the boomerang until it comes back to its start position) and at the same time, the player script will reproduce “throw” animation.
The problem is that the boomerang will come out at time 0 of the player’s “throw” animation and I want it on 0.2
I know that there’s method calls for animations, but I don’t know how to apply them on this certain case where are two different scripts for each node.
Maybe using a timer is right what i want, but I’m not sure.
Other thing I want to do is that player can’t execute “throw” animation if boomerang is flying
Thanks in advance.