150 {
151 if (disallowSide && (vector.Dot(GetDirectionUp(), vector.Up) < 0.7))
152 {
153
154 return true;
155 }
156
158
159 for (int wheelIdx = 0; wheelIdx < wheelCount; wheelIdx++)
160 {
162 {
163
164 return true;
165 }
166 }
167
168
169 return false;
170 }
proto native bool WheelHasContact(int wheelIdx)
proto native int WheelCount()
How many wheel can be attached to a car (hubs only)