Hi Justin,
Slowly getting used to the system. really enjoying it but I have some basic questions, I hope you don't mind.
I have an animation triggering from a behaviour tree where an NPC walks up to an item and picks it up off the ground. If the nodes go from Seek to Play the animation is skipped. However, if I add a Wait node in between them the animation is triggered. Likewise, I need to add another Wait node after the Play node (set to the length of the animation) before the rest of the behaviour is able to proceed. I did try using the Wait For State node and set it to Idle but this never worked.
Any idea why I need the Wait node before the Play node? And, I saw you had mentioned that you could wait for an animator event, would this entail sending a unity animation event to a custom UCC or BD event?
The second question is is it possible to simulate a button press for an NPC with UCC Locomotion component? When they play the custom pickup animation I would like to send a Button Down Start Type message to the NPC so they can pick up the item - rather than simply using an OnTriggerEnter.
I hope this isn't too vague,
Thanks in advance.
Nathan
Slowly getting used to the system. really enjoying it but I have some basic questions, I hope you don't mind.
I have an animation triggering from a behaviour tree where an NPC walks up to an item and picks it up off the ground. If the nodes go from Seek to Play the animation is skipped. However, if I add a Wait node in between them the animation is triggered. Likewise, I need to add another Wait node after the Play node (set to the length of the animation) before the rest of the behaviour is able to proceed. I did try using the Wait For State node and set it to Idle but this never worked.
Any idea why I need the Wait node before the Play node? And, I saw you had mentioned that you could wait for an animator event, would this entail sending a unity animation event to a custom UCC or BD event?
The second question is is it possible to simulate a button press for an NPC with UCC Locomotion component? When they play the custom pickup animation I would like to send a Button Down Start Type message to the NPC so they can pick up the item - rather than simply using an OnTriggerEnter.
I hope this isn't too vague,
Thanks in advance.
Nathan