Results 1 to 7 of 7

Thread: Help with bicycle rig

  1. #1
    Registered User mijaba's Avatar
    Join Date
    Dec 2005
    Location
    florida
    Posts
    60

    Help with bicycle rig

    I have a bicycle that I cannot get to stick to the ground. I think it has something to do with "auto origin" being used in the Raycast Geometry setup, but maybe it's the rig itself. The "driver null" is the one with the actual animation attached to it, but it must be raycast so the front and back wheels can reach the ground. At any rate, I've included a labelled picture so you can see where I've gone wrong.
    NOTE-- the surface I have them raycast to and their starting positions are NOT 0,0,0-- if that has anything to do with it.
    Any help would be appreciated.
    Click image for larger version. 

Name:	bicycle rig labelled.jpg 
Views:	101 
Size:	119.3 KB 
ID:	125488

  2. #2
    Registered User mijaba's Avatar
    Join Date
    Dec 2005
    Location
    florida
    Posts
    60
    I have made 2 dummy scenes (one animated, one not) and have 2 dummy objects (bike and ground object, lorez) for your inspection. Zipped, of course.
    LW bike rigging tests.zip

  3. #3
    Registered User Slartibartfast's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    419
    HI!

    displacing child objects which parent is also displaced is usually a p.i.t.a. Doing it in a longer hierarchy is even worse. The good news is that it's doable! I've modified your scene and attached it. I think this is what you wanted to happen. Basically what I did was to make both "wheel nulls" childs of the "driver null" (instead of one wheel beeing a child of the other, which would add to the node mess )
    Then, the problem with raytracing displacement of child objects is that you get the result as world coords, and to translate that to (parent) object space you have to know the position of the parent. Item info node gives you only the keyframed position so you have to trace it's new position also.
    The ADD 10m node is just there to ensure you don't start tracing below the ground.

    Good luck!

    And yeah, I changed the texture on the ground to a plain procedural, because there was an image lacking in your scene. Ground was just pitch black.

    LW bike modified.zip

  4. #4
    Registered User mijaba's Avatar
    Join Date
    Dec 2005
    Location
    florida
    Posts
    60
    you're AWESOME, Man! Going to try it out right now!

  5. #5
    Registered User mijaba's Avatar
    Join Date
    Dec 2005
    Location
    florida
    Posts
    60
    one last question-- can nodal motion be baked?

  6. #6
    Goes bump in the night RebelHill's Avatar
    Join Date
    Nov 2003
    Location
    jersey
    Posts
    5,766
    Quote Originally Posted by mijaba View Post
    one last question-- can nodal motion be baked?
    Sure...

    LSR Surface and Rendering Tuts.
    RHiggit Rigging and Animation Tools
    RHA Animation Tutorials
    RHR Rigging Tutorials
    RHN Nodal Tutorials
    YT Vids Tuts for all

  7. #7
    Registered User Slartibartfast's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    419
    Quote Originally Posted by mijaba View Post
    you're AWESOME, Man! Going to try it out right now!
    Thank you! My pleasure!
    And RH answered your question

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
  •