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