Results 1 to 4 of 4
  1. #1
    MSgt. Shooter Person
    Join Date
    Feb 2010
    Posts
    75

    Question Tweaking UTAnimBlendByTurnInPlace?

    Hi, I noticed that it's now possible to blend between two idle-animations: one for character being still, one for turning in place by using UTAnimBlendByTurnInPlace -node in the animation tree.

    I copied the node from AT_CH_Human like this: (Sorry for the big size of the image; smaller one was very hard to read)


    But there are two problems:

    1. The rotation animation starts "late", meaning I have to rotate the character about 30-45 degrees before the TurnInPlace -animation (run_forward) starts playing. I'd like it to start after about 5 degrees of rotation, or almost immediately.

    2. After stopping to turn the character in place, the animation does not return to to the Idle -animation (idle_ready).

    Also I would like to know what the slider at the bottom of the UTAnimBlendByTurnInPlace -node does (set to 0.11 Idle in the pic). Thanks in advance!

  2. #2
    MSgt. Shooter Person
    Join Date
    Dec 2009
    Posts
    58

    Default

    yeah im getting the same problem. after i stop turning, the character just goes into T-Pose

  3. #3
    Redeemer
    Join Date
    Oct 2007
    Location
    Victoria, Australia
    Posts
    1,038

    Default

    The slider lets you test the animation.
    As far as setting the values, its handled natively.

    To adjust the angles, you will need to muck around with MaxYawAim.
    UDKPawn.uc
    Code:
    /** How far RootYaw differs from Rotation.Yaw before it is rotated to catch up. */
    var() int    MaxYawAim;
    This defaults to 7000... with is what, 38 degrees?
    Change that too 1000'ish for 5-6 degrees.

    Full full control over the twisting and turning of the torso, you need to disable this and write your own code.
    Kris Redbeard
    GROUND BRANCH
    Mature Classic Tactical First Person Shooter
    Rule #11: Always cheat, always win. The only unfair fight is the one you lose.

  4. #4
    MSgt. Shooter Person
    Join Date
    Aug 2012
    Location
    California
    Posts
    37

    Default

    @slowJusko

    You're a life saver! This fixed the problem for me where I wanted the "turn in place" node to fire sooner.


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.