Hi guys,
I’m trying to create bring some things in my game in sync with the animations and I’m asking myself if it is a good idea to trigger “important” actions from within an Animation Blueprint.
The following things are triggered currently with Animation Notifiers in my game:
- Particle Effects
- Sounds (for example footsteps)
- Attaching of meshs to skeleton sockets (for example when switching weapons)
I suppose that this is absolutely ok but I’m not sure if it is ok to also trigger things like methods of the Character class which do things like “traces” for hit scan weapons and the suiting “I hit something”-call to the server.
Another idea would be to trigger the “Throw grenade” method (in the Character Blueprint) with AnimNotifies.
What do you think. Is this legit to trigger these “important” methods?
Currently I’m using timers in the game logic (partly in c++) to trigger things like the weapons hit scan etc.
This is absolutely ok for fast firing weapons but when having slower weapons you sometimes have the feeling that things are not in sync to the animation.
What do you think?