- Home /
Behave AI and triggers running at a different frequency
Hi guys, i'm kinda stuck on this problem with using Behave.
I have Behave calling states than run animations on characters, i then have those same animations trigger something, lets say an attack, i want the final frame of the animation to trigger a change of state in the character. The problem is the frequency at which Behave ticks, i only need it to run at a slow speed but the animations are running at normal speed, meaning that when the animation triggers it might take a while for the next TICK of Behave.
This causes a lag effect when you see the character animate, stop in the last frame for a few frames and only then trigger whatever is suppose to trigger.
I tried to force a TICK when the animation triggers, but for some reason it doesn't tick... i'm not sure why
any suggestion on how to fix this problem?
just so everyone knows, the TIC$$anonymous$$ was indeed working, the tree simply took more than one TIC$$anonymous$$ to actually change what it was doing, to be honest, Behave was kinda of a nightmare and i gave up on it and used FS$$anonymous$$ ins$$anonymous$$d, which is A LOT easier to manage
Your answer
Follow this Question
Related Questions
C# - Trigger Animation with Raycasting? 1 Answer
A* Pathfinding project with mecanim animation 0 Answers
I need some help with AI 0 Answers
Created an Open Close Animation, but script wont activate both doors? 1 Answer
Damage trigger? 1 Answer