- Home /
Wheel-Collider Scrripting
Hey there :)
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 :) Thanks! I already tried a lot, but I just can't figure out the problem.
Answer by gooncorp · Jun 26, 2012 at 04:35 PM
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....
Your answer
Follow this Question
Related Questions
Car moves only when the wheels have no colliders 2 Answers
Tire deformation? 0 Answers
Question about Wheel collider use 1 Answer
Wheel collider in the air problem 0 Answers
WheelCollider invisible 0 Answers