Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  4. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

BackHoe Loader Prefab

Discussion in 'Made With Unity' started by BlackMantis, Apr 2, 2012.

  1. BlackMantis

    BlackMantis

    Joined:
    Feb 7, 2010
    Posts:
    1,473
    This BackHoe Loader Prefab was a lot of fun to create, and has generated a lot of response from my testers.

    Features : :)

    Operate all parts of the loader and backhoe by key input or gui slider. Several parts can move all at once without effecting performance.

    The treds are a separate prefab with animated UV scrolling, that can be added to other vehicles with ease. Uses wheel colliders.

    Includes a sweet fully featured wow style camera with several camera locking options, and updated collision detection with auto positioning in front of those collisions. Checks collision by tag name.


    The Main Motor script class is ready to add to any other types of vehicles that have moving parts. It's easy to understand and with a few adjustments can outfit translation instead of rotation (ie) for a crane or forklift.

    Try The Demo Click Here
     

    Attached Files:

    Last edited: Jun 17, 2013
  2. bigmisterb

    bigmisterb

    Joined:
    Nov 6, 2010
    Posts:
    4,221
    Decently executed. The only problem I have in in the physics. I think your using mathematics to control the buckets so if you move them fast via the manual mode it will flip the box through the buckets. Consider Lerping to the new position rather than setting it via the slider. I did not see the same problem with the keys though since they move slower.

    Next the problem is where the boxes have no weight, so they flip around easily. Couple this with no friction on the buckets, and they will slide around inside the bucket until they flip out of it.Weight and friction would hold it in place. (friction on both the bucket and boxes would do it.)
     
  3. BlackMantis

    BlackMantis

    Joined:
    Feb 7, 2010
    Posts:
    1,473
    @ BigMisterB, Thanks for the tips. The friction of the surface material is really a good idea.
     
  4. shubhamshetkar25

    shubhamshetkar25

    Joined:
    Feb 4, 2017
    Posts:
    11
    hi, @BlackMantis can you tell me how to lift mud from ground with loader?