Announcement

Collapse
No announcement yet.

How to attach a sword to the UE4 mannequin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to attach a sword to the UE4 mannequin

    To attach any kind of object to the UE4 mannequin in Cascadeur, you need to work at the prototypes level, before the rig is generated.

    Click image for larger version

Name:	rig_sword_to_AE.gif
Views:	744
Size:	2.03 MB
ID:	305

    1. Open the UE4_SK_Mannequin_prototype scene and switch to the Joint mode.
    2. Open File / Import fbx/dae / Add model / and select your weapon (it should be an fbx scene which has joints and a weapon mesh associated with the joints)
    3. A weapon has appeared in the scene. You can drag it to the desired place by moving the weapon joints
    4. Select the palm joint (if the prototype of a rigid body interferes, you can hide it by pressing V, or selecting the joint in the Outliner) and also the main weapon joint, while holding Shift.
    5. Open the Objects menu and select Transform \ Add parent.
    6. Choose the joint that will be the parent (usually, it's the hand joint).
    7. Done! Now you can add rig elements to the weapon and generate a weapon rig.

    This instruction will be useful if you want to attach your own object.
    If you want the scene with the sword already attached, but want to generate rig yourself, get the file no.2
    If you just want a ready-made rig of UE4 mannequin with the sword already attached, please download the file no.3 below

    Files:
    1. UE4_SK_Mannequin_prototype
    2. UE4_SK_Mannequin_sword_prototype
    3. UE4_SK_Mannequin_sword

  • #2
    Thank you! Now I'm a warrior!

    Click image for larger version

Name:	warrior.gif
Views:	642
Size:	383.7 KB
ID:	308
    Attached Files
    Last edited by Dormouse; 11 February 2020, 13:03.

    Comment


    • #3
      Excellent, Thank You !

      Comment


      • #4
        What a great guide! Thank you!
        Is there a way to set the other hand to be attached to the sword too? (Longsword)
        so that the character is holding the sword with both hands....

        Comment


        • #5
          Originally posted by Juan Gauthier View Post
          What a great guide! Thank you!
          Is there a way to set the other hand to be attached to the sword too? (Longsword)
          so that the character is holding the sword with both hands....
          I believe my colleagues have already answered you on discord, but I will leave this info here for all the other users.
          You can copy arms on keys in local mode, relative to the pivot. But you still may have troubles in the interpolation frames.
          So, after you have all your keys for arms and sword, you can use FK for the sword so it will follow the left arm. And then you can copy the right arm relative to pivot on the sword and paste on the interval

          Click image for larger version

Name:	34.gif
Views:	302
Size:	1.53 MB
ID:	1049

          Comment


          • #6
            Originally posted by Cascadeur View Post
            To attach any kind of object to the UE4 mannequin in Cascadeur, you need to work at the prototypes level, before the rig is generated.

            Click image for larger version

Name:	rig_sword_to_AE.gif
Views:	744
Size:	2.03 MB
ID:	305

            1. Open the UE4_SK_Mannequin_prototype scene and switch to the Joint mode.
            2. Open File / Import fbx/dae / Add model / and select your weapon (it should be an fbx scene which has joints and a weapon mesh associated with the joints)
            3. A weapon has appeared in the scene. You can drag it to the desired place by moving the weapon joints
            4. Select the palm joint (if the prototype of a rigid body interferes, you can hide it by pressing V, or selecting the joint in the Outliner) and also the main weapon joint, while holding Shift.
            5. Open the Objects menu and select Transform \ Add parent.
            6. Choose the joint that will be the parent (usually, it's the hand joint).
            7. Done! Now you can add rig elements to the weapon and generate a weapon rig.

            This instruction will be useful if you want to attach your own object.
            If you want the scene with the sword already attached, but want to generate rig yourself, get the file no.2
            If you just want a ready-made rig of UE4 mannequin with the sword already attached, please download the file no.3 below

            Files:
            1. UE4_SK_Mannequin_prototype
            2. UE4_SK_Mannequin_sword_prototype
            3. UE4_SK_Mannequin_sword
            Does doing this result in a modified Unreal Skeleton when you import it into the engine?

            Comment


            • #7
              No, it doesn't. Sorry for the potentially misleading title.
              Doing this doesn't actually attach the sword, it only positions it. And then when you change the animation the sword won't follow.

              Comment

              About us
              Cascadeur is a standalone software for creating physically correct keyframe animations for characters, humanoid and otherwise. Make realistic animations from scratch or improve your mocap, while retaining full control over the results.
              Join us
              Working...
              X