Hello , i have downloaded the Networking example , and i’ve been trying to import a new car in unity that uses the Car.js script. What i have found is that from the “jeep” geometry to the “Car Prefab” there has been a lot of work done , that is not explained anywhere.
So the question is , how can i set-up my car or even the “jeep” in unity and control it.If i use the Car pre fab everything is ok , but i want to do it manually
A couple of questions:-
Do you just want to use the car from the car from the networking example (ie, use it in a non-networking game)?
What kind of setting-up do you need to perform on the car?
No i have my own car . I have noticed that the physics are responsible for the problem.If i enable Freeze rotation it seems to work OK, but it is not realistic this way. The only set-up i want to do is just take a model from Maya import it in Unity and attach the script to control the car.But when i do that the car acts crazy!
When you say the car acts crazy, do you mean it moves in the wrong direction, jumps, moves wildly…?
Well i think i solved the problem.I replaced : rigidbody.AddForceAtPosition(Fmot + brakeForce + cornerForce,transform.position+transform.up*wheelY);
with that : rigidbody.AddForceAtPosition(Fmot + brakeForce + cornerForce,transform.position);
and the car handles normally
Can you tell me how can i adjust this handling in order to make it more Gran Turismo -like and not so much arcade ?Are there any papers or something?