Search Unity

[RELEASED] Kinematic car suspension - Sport car

Discussion in 'Assets and Asset Store' started by KeereeDev, Nov 3, 2016.

  1. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    Hello everyone!
    Kinematic car suspension is an absolutely exact animated model of real car suspension. It works with standard wheel colliders and doesn't need any other setup. All you need to do is drag&drop the prefab into your scene and add your car body (or not add, if you want). Well, just watch the video and try demo.




    - The suspension has over 50 animated elements
    - (Optional) Rusty textures in 1 click
    - Using PBR materials
    - Suspension customization: camber, caster, toe, axles width, auto length of shafts, etc
    - Cool slow-mo effect included

    ASSET STORE LINK
    WEB DEMO
    PC DEMO

    This asset contains the sport car 4WD suspension: classic McPherson in front and independent rear suspension. There are two more assets upcoming: Off-road suspension (double wishbone in front and solid axle in back) and Buggy styled one.







    Coming soon updates:
    • Second textures pack - dirty and rusty [done]
    • Improved performance [done]
    For best experience use Edy's Vehicle Physics.
    All HowTo's and extended instructions are in the asset's main folder.
    For any issue or question feel FREE to write down on this thread or at keereedev@gmail.com.
    Stay tuned!

    P.S. By the way if you ever need some special suspension (from some real car, for example) based on this system, just write to my email and we'll discuss the price.

    A little issue: If suspension parts are shaking, reduce Fixed time step to 0.001-0.005, it fixes the problem.

    Update 1.1:
     
    Last edited: Jan 12, 2017
    ksam2 likes this.
  2. b4c5p4c3

    b4c5p4c3

    Joined:
    Jan 4, 2013
    Posts:
    537
    It looks very cool
     
  3. buFFalo94

    buFFalo94

    Joined:
    Sep 14, 2015
    Posts:
    273
    look really promising
     
  4. Vagabond_

    Vagabond_

    Joined:
    Aug 26, 2014
    Posts:
    1,148
    Great... it is really cool :)
    PS: how soon it is coming - no need to be exact though!
     
    Last edited: Nov 5, 2016
  5. Vagabond_

    Vagabond_

    Joined:
    Aug 26, 2014
    Posts:
    1,148
    I missed it is pending review so it's all clear !
     
  6. Invector

    Invector

    Joined:
    Jun 23, 2015
    Posts:
    966
    Really impressive work!
     
  7. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
  8. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    By the way if you ever need some special suspension (from some real car, for example) based on this system, just write to my email and we'll discuss the price.
     
  9. DawidMoza

    DawidMoza

    Joined:
    Nov 24, 2016
    Posts:
    216
    It's look like a decent participant to be a bestseller
     
  10. Inspeinre

    Inspeinre

    Joined:
    Jun 15, 2013
    Posts:
    44
    Kinematic Car Suspension - Sport Car will not be included in the Keeree Car Constructor? they somehow overlap? If I buy two discount if possible? ;)
     
  11. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    No, it will not be included because both systems are kinda complicated, so if I made them combined the scripts would be too hard to read. But simple code is my main target while developing the third version of the constructor.
     
  12. Inspeinre

    Inspeinre

    Joined:
    Jun 15, 2013
    Posts:
    44
    But they can interact with each other?
     
  13. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    Not yet, but I think I will implement it in the next version of the kcc.
     
  14. S1m0np3t3r

    S1m0np3t3r

    Joined:
    Dec 22, 2016
    Posts:
    8
    What could be the problem?
    Unity 5.3.3 and 5.4.2

    The wheel does not pull itself after the strip and there is no car body...

     
    Last edited: Dec 28, 2016
  15. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    Hi!
    Thanks for your feedback. The problem will be solved as soon as possible, stay tuned.
     
  16. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    Hi S1m0np3t3r!
    The asset needs at least unity 5.3.4 version.
    Yes! This problem really does exist. It's so strange nobody told about this before. The problem was caused by missing standard assets components, it's fixed now.
    As been told on the screenshots, the car models are not included. But they are included now in the new version.
    Could you please explain what you mean by this? I imported the package into 5.4.2 version and it worked fine. I guess, after I fixed all the bugs, this problem wouldn't appear again.

    I submitted the update for review. It will be available for download in 2-3 weeks.
    Thank you and sorry!
     
  17. S1m0np3t3r

    S1m0np3t3r

    Joined:
    Dec 22, 2016
    Posts:
    8
    There are no sounds, effects and tire tracks. I tried out two versions 5.3.3 and 5.4.2, but none were in it. Otherwise, nice work and I look forward to the continuation. There will be a future speed measurement?

     
    Last edited: Jan 3, 2017
  18. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    Hi!

    Yes, there are no sounds, effects and tire tracks, because they are provided by Edy's Vehicle Physics as well as vehicle physics itself, I mentioned that in the lower part of the screen in demo (it's also visible on your video ;) ).
    Here's the asset used in demo for vehicle physics, tire effects and sounds: Edy's Vehicle Physics.
    I am really sorry for misunderstanding.

    By the way, the new version of the asset has just been released! There are no bugs now and rusty textures were added. Check it out!
     
  19. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    By the way, I forgot to mention - If suspension parts are shaking, reduce Fixed time step to 0.001-0.005, it fixes the problem.
     
  20. Crossway

    Crossway

    Joined:
    May 24, 2016
    Posts:
    509
    Looks nice.
    I've done everything as you said but on the last step my car became invisible after I assign my car body to GUI_Parameters script.

     
  21. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    Hi!
    Yes, the car becomes invisible at start. Visiblity of the car is controlled by "show car body" checkbox in the GUI Box on the screen. If you don't need hiding/showing car body by this checkbox, just skip this step, there'll be no error.
     
    Crossway likes this.
  22. Crossway

    Crossway

    Joined:
    May 24, 2016
    Posts:
    509
    Thanks. About "SteeringWheel" it just rotate 45 degree!? It's not realistic is there a way to rotate SteeringWheel like a real car?
     
  23. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    Hey! Great idea! I will implement changing max steering wheel angle in the next update. But now you can just change it directly in the script, I will tell you how after I get home and look at the script (in 3-4 hours).
     
    Crossway likes this.
  24. Crossway

    Crossway

    Joined:
    May 24, 2016
    Posts:
    509
    That would be cool.
    Also there is two errors after building the game with Unity 5.5

    Assets/KinematicCarSuspension - SportCar/Scripts/DetailMapApplierEditor.cs(6,39): error CS0246: The type or namespace name `Editor' could not be found. Are you missing an assembly reference?

    Assets/KinematicCarSuspension - SportCar/Scripts/DetailMapApplierEditor.cs(8,23): error CS0115: `DetailMapApplierEditor.OnInspectorGUI()' is marked as an override but no suitable method found to override
     
  25. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    Well, I found out that modifying the script would be kinda complicated, so I changed it myself and added adjusted steering wheel max angle.
    Oh thanks! That one really exists. I fixed it already, the update with adjustable angle and bugfix will be available for download in 2-3 days after asset store team reviews the update.
     
    Crossway likes this.
  26. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    Version 1.2 just released.
    -Bug fixes
    -Steering wheel max angle adjustment added
     
    Crossway and Inspeinre like this.
  27. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    Work in progress Offroad suspension

     
  28. Crossway

    Crossway

    Joined:
    May 24, 2016
    Posts:
    509
    Cool man. really cool :) just I don't know how can I setup the speed of Steering? Can you please add this option too? I think it's really needed,Thanks.
     
    Last edited: Feb 11, 2017
  29. antoripa

    antoripa

    Joined:
    Oct 19, 2015
    Posts:
    1,163
    Hi,¨
    it looks awesome. I would ask if it works with RCC or other car physics engine
     
  30. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    Sure! It will be implemented in the next update.
     
    Crossway likes this.
  31. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    Thanks for your feedback!
    I only tried it with Edy's vehicle physics. This evening I will try it with RCC and write here about results. But the predicted answer is yes, likely they work together.
     
    antoripa likes this.
  32. celeronpm

    celeronpm

    Joined:
    Feb 15, 2017
    Posts:
    11
    Hi KeereeDev,

    Awesome products. I bought both your addons (suspension + engine) as well as edy's vehicle physics. My problem is I am unable to get your addons to work as smoothly with edy's physics as you have managed to in your kinematic car suspension demo.

    Is there any way you are willing to share your demo scene for us that have bought all of the addons? I'd like to get bootstrapped with a proper setup and I am just unable to get everything working as smoothly as you did in the demo.
     
    Crossway likes this.
  33. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    Hi!
    Could you please explain what exactly means "not smoothly"?
    I guess you mean the suspension elements are a little bit shaking? If so, just lower the fixed time step to lower value, for example 0.01 - 0.005. It should fix this problem.
    If there's another problem, please explain it more detailed.
    Also, perhaps I will make a video of how to setup those two assets.
    P.s. soon there will be new update of the suspension which will work better and more stable even without lowering fixed time step and adjusting springs offsets.

    Thanks for feedback!
     
  34. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    ksam2 likes this.
  35. Crossway

    Crossway

    Joined:
    May 24, 2016
    Posts:
    509
    Hi, I'm still looking forward to setup the speed of Steering, please add this option too. Thanks a lot.
     
  36. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    The update is waiting for review now, sorry for delay!
    Btw if you need to change speed of steering right now, you may go to Edit>Project Settings>Input, find Horizontal axle and change "Gravity" and "Sensitivity" parameters.
     
    Crossway likes this.
  37. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    Update 1.2.1 has just been released.
     
    Crossway likes this.
  38. Crossway

    Crossway

    Joined:
    May 24, 2016
    Posts:
    509
    Thanks but I mean was speed of car steering roll not wheels. I need to match the speed of steering with speed of wheels turn, like a realistic car steering. Thank you.
     
    Last edited: Mar 31, 2017
  39. yumianhuli1

    yumianhuli1

    Joined:
    Mar 14, 2015
    Posts:
    92
    So nice! Is your kit include K&C?
     
  40. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    What's K&C? :)
     
  41. Crossway

    Crossway

    Joined:
    May 24, 2016
    Posts:
    509
    Hi again, you added "Steering Wheel Angle Multiplier" option and it's cool but how can change it's turning speed?
     
  42. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    Hi!
    There's parameter "Steering speed" in the SimpleCarController script.
    ps Don't forget to set fixed time step to 0.001!
     
    Crossway likes this.
  43. Crossway

    Crossway

    Joined:
    May 24, 2016
    Posts:
    509
    Sorry I'm Noob in this kind of matters, still can't figure out how should I change speed :oops:
     
  44. yumianhuli1

    yumianhuli1

    Joined:
    Mar 14, 2015
    Posts:
    92
    K--vertical movement of tire causes angle change of toe,camber and so on.
    C--force and moment of force of tire causes angle change of toe,camber and so on.
    Thank U!
     
  45. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    Select gameobject SuspensionSportCar, in inspector there are scripts attached to this gameobject, find one named SimpleCarController. The last parameter of this script is Steering Speed. Adjust it to change steering speed.
     
  46. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    Got it
    I regret these features are not implemented here
    Sorry
     
  47. yumianhuli1

    yumianhuli1

    Joined:
    Mar 14, 2015
    Posts:
    92
    If you have time, can you add these features?Thank U!
     
  48. Crossway

    Crossway

    Joined:
    May 24, 2016
    Posts:
    509
    Please look at this pic, it shows what is my mean.
     

    Attached Files:

    • S.jpg
      S.jpg
      File size:
      132.2 KB
      Views:
      974
  49. KeereeDev

    KeereeDev

    Joined:
    Apr 21, 2016
    Posts:
    60
    Hi!
    I recorded a video, hope it answers your questions
     
  50. Crossway

    Crossway

    Joined:
    May 24, 2016
    Posts:
    509
    Thank you but I'm pretty sure it doesn't work with the current version on the Asset Store! I've tested on a clean project too but it doesn't change anything.

    Also it's placed on simple car controller script can you please place it on suspension script? Because some people using Edy's car system script instead. Thanks.