Wheel-Collider Scrripting

Hey there :slight_smile:

I am having kind of a fancy problem~

What I am trying to do, is a little arcade-tank-game. I have written a little script that attaches an empty-object with a wheel-collider to every wheel of the tank. So far so good, the values are attached to the colliders and everything is there in run-time…

Now I have 2 problems:

  1. I get an error ‘WheelCollider requires an attached Rigidbody to function.’ which doesn’t really help me~.~
  2. Although in the game, the wheel-colliders just sink into the ground. They just don’t function. The funny thing is, that if I change the radius-values at runtime, they suddenly begin to work…

My guess is, that the colliders have to be activated in some sort, but I just can’t figure out how…

I hope someone knows how to :slight_smile:
Thanks!
I already tried a lot, but I just can’t figure out the problem.

im having major problems with wheel colliders. someone on here said to make lots of colliders to compensate for the wheel colliders. hopefully one of these days ill get my wheel colliders to work…