169 {
170 if (disallowSide && (vector.Dot(GetDirectionUp(), vector.Up) < 0.7))
171 {
172
173 return true;
174 }
175
177
178 for (int wheelIdx = 0; wheelIdx < wheelCount; wheelIdx++)
179 {
181 {
182
183 return true;
184 }
185 }
186
187
188 return false;
189 }
proto native bool WheelHasContact(int wheelIdx)
proto native int WheelCount()
How many wheel can be attached to a car (hubs only)