Jump to content

Stuggz

Simulation problem with several hinges!

Recommended Posts

Hi there, relative noob here.

 

I'm trying to build the moving parts of a construction crane that's moving a girder, like the attached diagram. The top block should be slowly moving left to right, and the girder at the bottom moves a bit behind it, the top bit stops and the girder slowly swings to a halt underneath. The strings can be rigid, they simply pivot.

 

In my mind it made sense to use a set of four hinges (i only need the objects to swing in one dimension) but for the life of me can't get it even close to working! I got some success with a basic arrangement swinging very light and bouncy, but as soon as I made the girder have a bigger mass the hinges seemed to stretch, gaps appeared everywhere, and things refused to swing how I wanted them to...

 

How would you experienced guys go about doing this? How would the parenting work? Which bits would have dynamics tags, all of them?

 

Thanks for any help you can give!

 

S

 

pendulum_trim_00000.thumb.jpg.b8eeb158a6cd78cbc7b33266d3bae174.jpg

Share this post


Link to post
Share on other sites

On your dynamic connectors (Hinge) turn the bounce down, but more importantly, Go into your project settings (Ctrl D) > Dynamics tab > Expert tab, then double the steps per frame and Maximum Solver iterations per step. Hope this helps.

  • Like 1

Check out my C4D tutorials at Digitalmeat.uk

Share this post


Link to post
Share on other sites

Does it have to be dynamic ? You could fake it with an XPresso memory node. In this file the lower girder X position is 15F behind the top one.

 

IRL the lower girder would rise slightly when the top moves - to keep the chains a constant length.

 

fake.c4d

  • Like 1

Share this post


Link to post
Share on other sites
  • Topic Author
  • Thanks both!

    I sort of made progress with it - the project settings helped to a decent extent but hinges are still stretchy if pushed! I think I could get away with it as long as i keep everything slow so it's not noticeable... Hinge bounce has always been at zero.

     

    I think I may well end up faking it TBH as the hinges are being such a pain! 

     

    I've attached the project file as far as I've taken it, if it interests you.

    pendulum test v2.c4d

    • Like 1

    Share this post


    Link to post
    Share on other sites

    You could try some keyframed damping on the girder at the end of the movement (dynamics tag, force) - a bit like this

     

    damped.c4d

    • Like 1

    Share this post


    Link to post
    Share on other sites

    Here I used your scene and some Pythagoras to fake girder Y movement in my original XPresso fake

     

    fake2.c4d

     

    AFAIK it takes a lot of skill for a real crane driver to move a load and stop it dead without swinging

    Share this post


    Link to post
    Share on other sites
  • Topic Author
  • 1 minute ago, jed said:

    AFAIK it takes a lot of skill for a real crane driver to move a load and stop it dead without swinging

     

    ...yeah I wanted to keep the swing, hence the hinges - the stretchiness I was talking about was the objects twanging further apart from each other, like they were hung from rubber bands!

     

    Thanks for your help anyway, I'll check out the pythagoras thing in a moment.

    Share this post


    Link to post
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


    • Recently Browsing   0 members

      No registered users viewing this page.

    YOUTUBE CHANNEL:

    ABOUT US:

    C4D Cafe is the largest CINEMA 4D community. We provide facilities for discussion, showcasing and learning our favorite software :) Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, get your own private messenger, post status updates, manage your profile and much more. If you need to find solution to your problem or otherwise ask for help, Cafe is the right place.
    ×
    ×
    • Create New...