#ROTATE AND SPIN WHEELS CAR

26 messages · Page 1 of 1 (latest)

worldly kelp
#

@crystal wind here

crystal wind
#

yk i dont actually have much exp with cars in unity

but i have a ton of exp with debugging

what i usually do if u cant seem to get it to work, rewrite it completely a different way, find a tutorial on youtube where they make a simple car, and copy them, then adjust it to what u want, this way ull learn alot

worldly kelp
crystal wind
#

[UPDATE] If you are looking for the breaking bugfix check the description after expanding it!

Let’s learn how to create a car controller in Unity. We will get to know Unity’s wheel collider component and use it to move a car. We will also create a simple camera script that will follow the car.

[BREAKING BUGFIX!!]
There is a bug in the HandleMo...

â–¶ Play video

I'M BACK! I asked the denizens of the Discord server (link below) for ideas for an easing back into things video and here we are; basic car movement in Unity! This tutorial should be suitable for just about any level of beginner and shows how I get from a static car model to a functioning vehicle that accelerates, reverses, brakes, and even has ...

â–¶ Play video
#

id follow these, start completely from scratch

#

then come back to ur project after u have finished them and know a bit more

worldly kelp
crystal wind
#

oh, i misunderstood

#

why arnt u using wheel coliders?

worldly kelp
#

I just have rotate problem

#

If i make just spin work it's working as well but when i make rsteering rotate work the spin not work

crystal wind
#

how are u rotating the object?

worldly kelp
#

I put photo my code in post see it

crystal wind
#

ok, thats what i thought u were doing lok
unity is not designed to work like this with objects, thats why they have wheel coliders

#

try sphere colliders for fhe front wheels and instead of rotating them, change the direction they are rotating

worldly kelp
#

I don't have any colider on my wheels i use suspension system so i don't need coliders

worldly kelp
crystal wind
#

akshay?

#

this goes back to what i said before, when im having triuble with something i do it another way

#

after a certain point u can only put so much time into a method that u cant manage to get working

#

i recommend refactoring how it works

worldly kelp
worldly kelp
crystal wind
#

ok, good luck!

#

maybe post more code so ppl can see