- Home /
Add Force or Motor Torque .. Which is better for creating a car?
Hi guys,
I was looking into the unity car tutorial available in the unity asset store. In the tutorial force was applied to the rigid body of car to make it move and also to simulate drag. There is also a tutorial in youtube in which motor torque is applied to wheel collider to make the car move. So my question is which is a better approach to make a car?
Assest Store Tutorial : http://u3d.as/content/unity-technologies/car-tutorial/1qU Youtube Tutorial : www.youtube.com/watch?v=c5Snsi68xzE
Thanx in advance!
It's easy to lose hundreds of hours modeling realistic physics. Find a level of simulation that you can work with.
For a physical answer, add force can be considered to either push or pull objects. In the case of a car it would be like making the car a trailer since you would be pulling or pushing from a point.
A real car is using the torque from the wheel, then the rotational force of the wheel is passed to the whole car object. So the torque is more natural.
This is highly simplified.
Nonetheless, the difference won't really show in your game.
I have looked into all the tutorials including the new sample assets beta car. All these cars seems to have different awesome features but I personally feel the simple unity car gives the best dynamics for a race car game :)
But it does not use add force it uses wheel collider which is a complex component using torque on wheel like a realistic car. And yes it is probably as close to a car as can be. At least with unity
Actually I am talking about this one : http://u3d.as/content/unity-technologies/car-tutorial/1qU and it uses addForce to the center of mass. I chose this one because it is the most easiest to implement burnout with.
Answer by Pietie · Feb 07, 2014 at 09:52 PM
Try this, it is newer (2014) :)
If it's helpful, please set this answer as correct - on left side... :)
Your answer
Follow this Question
Related Questions
Rigidbody car with wheel colliders gets stuck in ground 0 Answers
Applying Torque to wheelcollider 1 Answer
Unity 5 wheel collider throttle "stuck". 1 Answer
my car isn't moving 1 Answer
WheelCollider rotates mesh wrong 1 Answer