Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Off-Road Truck Template 2 (Terrain Deformation)

Discussion in 'Assets and Asset Store' started by UnityLighting, Dec 4, 2016.

  1. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Watch the above video :
     
  2. rajjutech

    rajjutech

    Joined:
    Dec 24, 2018
    Posts:
    10
    Hi,
    Where can i find the new vehicle assets? Your template has only one truck and even Volvo truck is missing (video tutorial).
    Can you please show me the pointers from where i can get/buy new trucks from asset stores so that it works in your template with out any issues?
     
  3. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    1.You can model it
    2.You can search and find them on assetstore
     
    alienorbit likes this.
  4. denis3510

    denis3510

    Joined:
    May 16, 2020
    Posts:
    10
    i have created a new scene and now i want to add this as level 6 button in the level select screen for example, i found the "On Click LevelSelect.SelectLevel and then the values 0 to 4(the 5 levels), but the question is for example i have now my scene which is level 6 and i want to add it so the button redirects me to the correct scene, how i redirect the button to the level by this values?
     
  5. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Hi
    You can set number 5 to the button OnClick as level 6
    Also your Scene name must be similar to the other levels
    You can select LevelSelect game object under Canvas to see LevelSelect
    script for level selection settings
     
  6. denis3510

    denis3510

    Joined:
    May 16, 2020
    Posts:
    10
    Hi, Thank you .
    I found a bug or i am not exactly sure about that but i managed to fix it,
    The bug was when i play with the mobile ui when you hold gas pedal and left steer at the same time it was not steering good only to left side.. i found in the InputSystem script the function Steer and there this if statement and it was:
    Code (CSharp):
    1.  
    2.         if (state)
    3.             steerInput = Mathf.Lerp (steerInput, 1f, Time.deltaTime * 34);
    4.         else
    5.             steerInput = Mathf.Lerp (motorInput, -1f, Time.deltaTime * 34);
    i changed the the "motorInput" to "steerInput" and it solved the problem for me..
    can you check it and tell me if i was wrong about that solution ?..
     
  7. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Your solution is no correct logically
    the original code is corrects
    Maybe the problem is from UI system or device touch
     
  8. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    New update October 2021:
    Released: Oct 14, 2021

    Update 2.2 October 2022(Downloadable from Unity 2020 or above editors):

    - Added color grading effect

    - Fixed small bugs

    - Added terrain deformation scripts and guide



    Terrain Deformation Guide
     
    Last edited: Oct 14, 2021
  9. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    I'm working on a new update to add optimized terrain deformation for mobile devices on URP:
    2.jpg
    3.jpg






    1.jpg
     
  10. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    60 fps on Xiaomi Poco X3 :
    - High settings
    - URP
    - Real-time Sun light + high distance shadows
    - Terrain deformation (real 3d height map update)
    - Native resolution
    - Post processing
    photo_2021-12-05_01-06-01.jpg
     
  11. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
  12. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Added new vehicle (pickup):



    photo_2021-12-05_18-18-28.jpg
     
  13. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Update 2.3 will be available in a few days later:
    - Added a real 3d terrain deformation system that optimized for mobiles and all platforms
    - Upgraded the default project to the URP tpo have maximum performance and graphics
    - Fixed small bugs
    - New re-skin
    - Added pickup vehicle
    - Added highlighted checkpoints
    - Updated resolution selection settings and canvas scale on the target device
    - Updated to the unity 2020 LTS and the newer versions
    Download the Android APK
    1.jpg
    2.jpg
    3.jpg
    photo_2021-12-05_22-47-28.jpg
    photo_2021-12-05_22-47-36.jpg
     
    Last edited: Dec 5, 2021
  14. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
  15. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
  16. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Last edited: Jan 14, 2022
  17. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
  18. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866