#Learn to spin wheels

1 messages · Page 1 of 1 (latest)

kindred river
#

Good evening, I am trying to make my wheel stay fixed but can move except that it circles on itself but it does not stay fixed, how can I correct this?

Thanks

strange solstice
#

do you mean rotate?

#

also how is this code related

kindred river
#

Yes, I would like to make the wheel turn, like a car wheel moving forward, the wheel is fixed but it turns

strange solstice
#

freeze position fully and freeze z and y so it can only rotate on y

#

Also you may want to use a wheel collider

#

Anyway this is not code related 😆

#

Perhaps use a translation website to aid in asking for help

kindred river
#

I'm French and I use Google Translate to find help.

#

unfortunately still not

strange solstice
#

ill say again, this is not code related so you should ask in the correct place. If this is only going to be animated then remove the rigidbody component.
Also the origin of the object is clearly NOT in the center of the wheel 😐

#

!learn

ornate hawkBOT
#

:teacher: Unity Learn ↗

Over 750 hours of free live and on-demand learning content for all levels of experience!

kindred river
#

I put an empty create parent on the child but to change the pivot and animate on it but it didn't work

#

I'll see tomorrow...

strange solstice
#

If you make a parent you can move the child to have the parent pos fit where you want
then animate the parent so the wheel turns visually around its center

kindred river
#

My ultimate goal is to take the cart and see the wheels turn

strange solstice