158 {
159 if (disallowSide && (vector.Dot(GetDirectionUp(), vector.Up) < 0.7))
160 {
161
162 return true;
163 }
164
166
167 for (int wheelIdx = 0; wheelIdx < wheelCount; wheelIdx++)
168 {
170 {
171
172 return true;
173 }
174 }
175
176
177 return false;
178 }
proto native bool WheelHasContact(int wheelIdx)
proto native int WheelCount()
How many wheel can be attached to a car (hubs only)