Does not match transforms to target?

Slate Forums Support Does not match transforms to target?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2362
    wegwa
    Participant

    I added “MatchTransforms To Target” to a white stick and Animation Clip to a model, but “Match Transforms To Target” doesn’t seem to work properly.

    My perception was that adding “Match Transforms To Target” would cause the white bar to follow right model.

    But, the white stick did not follow to the model, and it moved to the position where the model was originally located.

    How can I move the white stick to the model?

    Attachments:
    You must be logged in to view attached files.
    #2366
    Gavalakis
    Keymaster

    Hello there,

    The “Match Transforms To Target” should do exactly what you are expecting. The problem here might be that the Chan model animation is not using Root Motion, but instead the animation is an offset. This means that Chan model Transform values remain at 0,0,0. You should be able to confirm this if you select Chan and inspect the Transform position values.

    One solution would be for Chan’s animation to be made so that it uses Root Motion, while another solution here would be to set the Target for “Match Transforms” clip to be some child gameobject of Chan which is actually moving (eg the hips).

    Please let me know if the above help and clarify the issue.

    Thank you!

    Join us on Discord: https://discord.gg/97q2Rjh

    #2368
    wegwa
    Participant

    It is difficult to separate animation and transformation, so it solved by using another solution presented (matching MatchTransform to the hip bone).

    Thanks!

    Attachments:
    You must be logged in to view attached files.
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.