User Tag List

Results 1 to 4 of 4

Thread: Synchronize animations between actors

  1. #1

    Synchronize animations between actors

    While making a horse actor I realised that I don't know how to play it's animations synchronously with the rider. That ones with PlayCustomAnim are simple to make, but what about walking and running animations? Rider is attached with SetBase and technically does not moves. Animations could be toggled with a custom animnode, but how to be sure they are synchronized with horse's animations shown on this screenshot?

    Name:  animtree.png
Views: 41
Size:  17.6 KB

  2. #2
    I was using notifies in the horse animations to play animations on the player. I'm using two animnodes to mix the animations, so there are no hitches.

    But it seems a "brute forze" way to do, I want to try with the syncronize groups, but still I don't know if they will work with two diferent actors and two diferent animtrees.

  3. #3
    The problem is ScaleRateBySpeed nodes that continuously change animation rate, so even if I start playing rider's animation at the same time, I cannot tell which rate it must have at every tick.

  4. #4
    I made a setup that detects a change of horse's animation and replicates it to rider pawn. A custom anim node that passes OnBecomeRelevant() to pawn class did the trick.

    Then I tried to get the play rate of anim node sequence with GetGlobalPlayRate(). The description said it will take into account all rate scales applied to this animation, but as appears, it ignores ScaleRateBySpeed node and simply returns 1.0.
    Well... is there a simple way to get play rate of animation after it's being modified by ScaleRateBySpeed node?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts