Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Car move with DOTS

Discussion in 'DOTS Physics' started by florinel2102, Feb 4, 2020.

  1. florinel2102

    florinel2102

    Joined:
    May 21, 2019
    Posts:
    67
    I'm trying to figure out, how handle wheel collider in ECS , I mean how to control car/vehicle after convert to entity (e.g : how to add Torque ? ) . Thanks for your time !
     
    Mikael-H likes this.
  2. Mikael-H

    Mikael-H

    Joined:
    Apr 26, 2013
    Posts:
    307
    Well there are cars in the dots physics sample on github but the code is pretty crappy. Essentially they reimplemented a wheel collider, shoot raycasts for each wheel.

    I think you're better off writing your own wheel collider from scratch and creating a system for handling it. That's what I intend to do, we'll see how far I get :)
     
    florinel2102 likes this.
unityunity