Hello guys, i need help with my car game. im trying to make a game code like mario kart. but i didnt like gear system i want to make a game acceleration and speed like mario kart. but without gears. and full motorTorque without rigidBody torque.
Rigidbody only for turbo.
can u help me? i have one script but i didnt like because is with rigidBody. and so bad.
Iâd suggest you use one of the car middleware packages like edy vehicle physics.
Ty for reply. but another options without packages? just i need torque aceeleration
Youâll either have to write one yourself, or use a 3rd party option (usually distributed as a package).
Are you asking us to write you one? Or link you to an already written one? Wouldnât that technically be the same as a âpackageâ?
lordofduct:
Youâll either have to write one yourself, or use a 3rd party option (usually distributed as a package).
Are you asking us to write you one? Or link you to an already written one? Wouldnât that technically be the same as a âpackageâ?
i have already a code just look the first map.
but my racing code = trash.
lordofduct:
Youâll either have to write one yourself, or use a 3rd party option (usually distributed as a package).
Are you asking us to write you one? Or link you to an already written one? Wouldnât that technically be the same as a âpackageâ?
i need only acceleration and torque like mario kart but with motorTorque without rigidBody.
Well weâre not going to give you the code, chum. It doesnât work like that here. You have to show us code youâd like fixed, or be clearer about things. We donât know where you are in capability or anything.
hippocoder:
Well weâre not going to give you the code, chum. It doesnât work like that here. You have to show us code youâd like fixed, or be clearer about things. We donât know where you are in capability or anything.
Just help me on this example:
torque = 250f;
maxTorque = 70f;
motorTorque = Input.GetAxis("Horizontal") * torque / time.deltaTime;
then i want to make good aceleration and torque like mario kart u know mario kart have a good Acceleration and Speed control.
mario kart, mario kart, mario kart
If you say it enough times, the code fairies will come down and gift you with the source code of mario kart⌠all 11 versions of it.
SROZOne
November 2, 2015, 7:19pm
10
All version of mario kart have same run
how are you controling your kart trou physics or just transform
dude you use wheelColiders for making your cart not touching the ground, but you dont controle your cart with them. You artist or programer?
Yes, this Mario Kart:
Has the same ârunâ as this mario kart:
SROZOne:
WheelColliders
Why a WheelCollider? WheelColliders are for simulating psuedo-realistic physics for suspension and the sort.
Mario Kart doesnât exactly shoot for realistic physics and suspension. Itâs a twitch arcade game.
Youâd be better off with something like CharacterController. Or kinematic rigidbodies.
1 Like
duno in my project i am using real rigidbodys with custom suspension and controls and it works just fine, but yes wheelcoliders sux for arcade
SROZOne
November 2, 2015, 7:53pm
16
oh thats new for me⌠i suppuse wheelcollider for run because they have motorTorque then.
show me how u make with another system?
SROZOne
November 2, 2015, 7:54pm
17
and well i want run like new mario kart.
you artist or programer? or trying both?
SROZOne
November 2, 2015, 7:58pm
19
all a little.but not much Body rigid or Physics im confused. how i can make that system.
Nobody wants to give you their hard work for free but you can falow simple guidelines. i think eazyer is to just use transfrom.move or somthing like that but if you want to go physics here is a good exaple how to stuff