Page 1 of 2 12 LastLast
Results 1 to 15 of 18

Thread: How to rig a truck ?

  1. #1
    Super Member kolby's Avatar
    Join Date
    Aug 2004
    Location
    CZ, EU
    Posts
    391

    How to rig a truck ?

    Hi, I need to rig my model (see pic).
    I know, vehicle rigger can do that, but I don`t have this plugin and don`t need complex rig. The vehicle is already animated, so I just need that trailer properly follow vehicle`s motion path.
    Can you anybody help me please ?
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Trailer.jpg 
Views:	117 
Size:	41.5 KB 
ID:	89934  
    System info: CPU: Xeon X5680 RAM: 12GB DDR3/1333MHz MB: Asus P6T WS Pro GFX: Asus GTX 750 Ti / 2GB OS: Win7, LW2018.0.7 x64

  2. #2
    luxowaver silviotoledo's Avatar
    Join Date
    Jun 2003
    Location
    Brazil
    Posts
    1,831
    I would do it by hand best option then.

    Anyway you can try Relativity and ask professor Dr. Delayer



    http://vehiclerigger.walen.se/videos.html

    vehicle Rigger costs 110 euros
    Last edited by silviotoledo; 11-14-2010 at 04:00 PM.
    Silvio Toledo
    Brazil

  3. #3
    Super Member kolby's Avatar
    Join Date
    Aug 2004
    Location
    CZ, EU
    Posts
    391
    I need to animate almost 30 trailers at once so doing it by hand is little crazy. I think that I can`t use any delayer or follower because in turnings this trailers always goes on different paths than the vehicles.
    My first idea was to use distance maintainer with target to connection point. But it works only in one axis.
    System info: CPU: Xeon X5680 RAM: 12GB DDR3/1333MHz MB: Asus P6T WS Pro GFX: Asus GTX 750 Ti / 2GB OS: Win7, LW2018.0.7 x64

  4. #4
    Super Member kolby's Avatar
    Join Date
    Aug 2004
    Location
    CZ, EU
    Posts
    391
    Quote Originally Posted by Megalodon View Post
    I know it. But I don`t need full rig.
    System info: CPU: Xeon X5680 RAM: 12GB DDR3/1333MHz MB: Asus P6T WS Pro GFX: Asus GTX 750 Ti / 2GB OS: Win7, LW2018.0.7 x64

  5. #5
    Super Member
    Join Date
    Jun 2010
    Location
    Derbyshire, UK
    Posts
    455
    I did a little test which i think achieves what you are after...

    I created a spline to use as a motion path for the truck, then parented the trailer to that(with pivot point in the correct place).

    Assign a curve constraint in motion options and set your desired frame time etc.

    Then add a null object with the same curve constraint but delay the start and end frames so that it runs behind where you want the trailer to be.

    I then added a couple of bones to the trailer to create an IK chain with the goal object being the delayed null.

    I've attached a VERY rough scene for you to look at and I'm sure you'll do a better job of animating than I will

    Hope this helps
    Attached Files Attached Files

  6. #6
    Super Member kolby's Avatar
    Join Date
    Aug 2004
    Location
    CZ, EU
    Posts
    391
    Hi Simon, I am also playing with this setup few days ago, but I found it unusable because in turnings, this trailers always goes on different paths than the vehicles.
    I need something more accurate.
    Now I am trying setup with use of dynamic and it looks promising but it still need some finetuning. My life would be much easier if we have better dynamic in LW.
    System info: CPU: Xeon X5680 RAM: 12GB DDR3/1333MHz MB: Asus P6T WS Pro GFX: Asus GTX 750 Ti / 2GB OS: Win7, LW2018.0.7 x64

  7. #7
    Member
    Join Date
    Nov 2009
    Location
    Perth, Western Australia
    Posts
    24
    I am only getting back into LW.

    Isn't there an align to path command somewhere?
    Could that be applied to the trailer?

    Kevin

  8. #8
    da what? daforum's Avatar
    Join Date
    May 2006
    Location
    Bristol, England
    Posts
    1,670
    Have a look at this:
    http://www.newtek.com/lightwave/tuto...tup/index.html

    It might help....
    Montage Reel, Portfolio, PIN_01, Prime......«« go on, click on a link!

  9. #9
    Super Member kolby's Avatar
    Join Date
    Aug 2004
    Location
    CZ, EU
    Posts
    391
    Ok, here is result when using dynamics. It isn't quite accurate, but perfectly shows difference between vehicle and trailer paths.
    So, how to reproduce this without dynamic ?
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Truck_paths.jpg 
Views:	96 
Size:	71.4 KB 
ID:	90226  
    System info: CPU: Xeon X5680 RAM: 12GB DDR3/1333MHz MB: Asus P6T WS Pro GFX: Asus GTX 750 Ti / 2GB OS: Win7, LW2018.0.7 x64

  10. #10
    Member
    Join Date
    Nov 2009
    Location
    Perth, Western Australia
    Posts
    24
    A second curve for the rear wheels of trailer?

    Or an expression to position a null where you want the rear wheels.

    Could you measure the angle of cab and trailer induced by the steering, and as you know the length of both, can you determine the length of the third side and the 2 angles. and hence the rear wheel position?

    That might be a flawed idea, please let me know if it is. It's as much a question as it is a suggestion.

    I am also not sure if you have a bone rig in the truck, or just rotating and pivoting objects.

    Your question has me intrigued, I apologise if I am recycling bad ideas.

    Kevin

  11. #11
    Super Member OlaHaldor's Avatar
    Join Date
    May 2008
    Location
    Norway
    Posts
    985
    Simon, That scene or object made my LW crash..
    3D Generalist
    Threadripper 2920x, 128GB, RTX 2080 Ti, Windows 10

  12. #12
    Member
    Join Date
    Nov 2009
    Location
    Perth, Western Australia
    Posts
    24
    What about Relativity: Dr. Motion Blender & perhaps Dr Follower

    Define the path for the cab.

    Define a second path for the rear, or a maximum offset for the rear wheels from the cab path, when the steering is at 100%. either I think could work.

    Use heading from the steering to blend between the two paths.
    It's a suggesttion to try, if you haven't.

    Kevin

  13. #13
    Super Member kolby's Avatar
    Join Date
    Aug 2004
    Location
    CZ, EU
    Posts
    391
    Hi Kevin, thans for ideas. No, I have no bone rig in the truck. Just rotating and pivoting objects. I am sure that this can be done with some math. I will try.

    Best thing would be, if there will be possibility force LW to keep one object at a fixed distance to another one, working in all axes. But don`t know how.
    System info: CPU: Xeon X5680 RAM: 12GB DDR3/1333MHz MB: Asus P6T WS Pro GFX: Asus GTX 750 Ti / 2GB OS: Win7, LW2018.0.7 x64

  14. #14
    Michael Nicholson zapper1998's Avatar
    Join Date
    Feb 2003
    Location
    spokane washington usa
    Posts
    4,663
    Blog Entries
    1
    WOW
    I did it the hard way.. Lots of info thanks










    Michael
    Intel Core i7-980, OC 4.7ghz water cooled.
    Gigabyte x58-UD3R with an Intell SSD 180GIG
    RamCorsair-DDR3-1600-32GIG
    Nvidia Titan Z, x 2 And 1 GTX-1080 by Gigabyte.
    4xEnterprise/WDVelociRaptor®300gig

  15. #15
    Member
    Join Date
    Nov 2009
    Location
    Perth, Western Australia
    Posts
    24
    Kolby,

    Apologies if I am adding confusion, I've had 9.6 and 10 for 3 weeks now.
    I hadn't touched LW since 5 and Inspire3d. I had kids

    I just had ago at it, but I got stuck with my truck running backwards.
    Ahuh .. a born again dummy.

    I see it like this now, and you may be able to make it happen.

    A null parented to the cab at the trailer connection point.
    The cab aligned to the path.

    As the front wheels steer, rotate the null at:

    [variation] x wheel heading x -1

    And have the trailer parented to that null.

    I am not sure which is the best method to pass the expression around. But, I am pretty sure that simplistic math will work, but I'm struggling with the interface.

    It's challenging me, I hope I am helping in some way.

    Kevin

Page 1 of 2 12 LastLast

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
  •