We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

help needed with wire animation problem

Home Forums Graphics / Blender help needed with wire animation problem

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #38983
    samuraijkmsamuraijkm
    Customer

    Hi devs and community,

    I am trying to animate a cord moving with my robot arm armature. I know that we cannot use modifier animations. I made a bone chain, attached it to a mesh cylinder, used spline ik bone constraint to control the armature and used another armature to control the placement of the curve. It positions it fine. I parented the armature to the base of the robot and then used a child of bone constraint on the end bone to lock it to the moving part of the arm. Works in Blender, breaks in Verge. How do I fix this ? I went through multiple scenarios and can’t get it to work right. Any ideas ? :scratch:

    Sincerely,
    Jason

    • This topic was modified 1 month, 2 weeks ago by samuraijkmsamuraijkm.
    Attachments:
    You must be logged in to view attached files.
    #39012

    Hi,

    You need to set 0 keyframe for your main animation to synchronize with the rod animation so that they start simultaneously. Here’s fixed file:

    Attachments:
    You must be logged in to view attached files.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #39023
    samuraijkmsamuraijkm
    Customer

    Hi Yuri,

    It still isn’t quite right. See the images attached. The file I sent you has the wire attached at a knob on the side of the piston. The one you sent back it’s floating in the middle of the piston.

    I thought that there might be a way to keep it aligned, but when I tried to replicate what you did, mine was in a different spot.

    Can you explain what keyframe you added frame 0 in more detail? Was it the armature of the base robot arm, was it for all the bones or just the main bone ? I’ve tried both and it still looks the same. I feel like I’m so close to figuring it out but nothing seems to be working. :unsure:

    Sincerely,
    Jason

    • This reply was modified 1 month, 1 week ago by samuraijkmsamuraijkm.
    • This reply was modified 1 month, 1 week ago by samuraijkmsamuraijkm.
    Attachments:
    You must be logged in to view attached files.
    #39032
    samuraijkmsamuraijkm
    Customer

    glitch

    • This reply was modified 1 month, 1 week ago by samuraijkmsamuraijkm.
    • This reply was modified 1 month, 1 week ago by samuraijkmsamuraijkm.
    #39035
    samuraijkmsamuraijkm
    Customer

    Hi Yuri,

    It still isn’t quite right. See the images attached. The file I sent you has the wire attached at a knob on the side of the piston. The one you sent back it’s floating in the middle of the piston.

    I thought that there might be a way to keep it aligned, but when I tried to replicate what you did, mine was in a different spot.

    Can you explain what keyframe you added frame 0 in more detail? Was it the armature of the base robot arm, was it for all the bones or just the main bone ? I’ve tried both and it still looks the same. I feel like I’m so close to figuring it out but nothing seems to be working. :unsure:

    Sincerely,
    Jason

    • This reply was modified 1 month, 1 week ago by samuraijkmsamuraijkm.
    #39037
    samuraijkmsamuraijkm
    Customer

    Hi Yuri,

    Thank you for helping me sort through this…

    It still isn’t quite right. See the images attached. The file I sent you has the wire attached at a knob on the side of the piston. The one you sent back it’s floating in the middle of the piston.

    I thought that there might be a way to keep it aligned, but when I tried to replicate what you did, mine was in a different spot.

    Can you explain what keyframe you added frame 0 in more detail? Was it the armature of the base robot arm, was it for all the bones or just the main bone ? I’ve tried both and it still looks the same. I feel like I’m so close to figuring it out but nothing seems to be working. :unsure:

    Sincerely,
    Jason

    Attachments:
    You must be logged in to view attached files.
    #39040

    You need to bake the wire animation somehow to simple keys so animation would work without constrains and additional objects. I’ve tried to bake it with Blender baker but seems it works not perfect.

    Co-founder and lead graphics specialist at Soft8Soft.

    #39043
    samuraijkmsamuraijkm
    Customer

    So if the wire is baked somehow, what part of the main animation has a key at frame 0 ? every part of the robot arm or just the main bone ?

    #39044

    Any object or bone that has animation.

    Co-founder and lead graphics specialist at Soft8Soft.

    #39055
    samuraijkmsamuraijkm
    Customer

    Ok, so I was finally able to produce some positive results. It is kind of a workaround.

    I basically set everything’s posed position to be the rest pose and applied the armature on the mesh. Once everything was in the rested state at frame 0, I deleted the spline IK and the curve. Added regular IK to the end of the chain by adding a target bone. Then added child of constraints to lock the chain to the base of the robot arm. I then baked all the armatures to action keys clearing all constraints and then finally added a child of constraint to the first bone to lock it back to the base. Now I have to repeat this for all my wires on the mesh.

    Seems convoluted for sure, especially because if I have to change the animation I’m screwed and have to start over. :wacko:

    Guess I will have to have a prebaked and baked file to allow for alterations. Anyway, I am attaching the file for you or anyone to see if you are curious.

    Also, I found this video on the web which helped a lot. Here it is for reference – https://drive.google.com/file/d/1OC5zo6EpKDnA5EdgUv02uKFBGZm4gidS/view

    Attachments:
    You must be logged in to view attached files.
    #39061

    Yes, I usually do the same: keep two or more files with different stage of rigging and animation. :good:

    Co-founder and lead graphics specialist at Soft8Soft.

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.