- Home /
Wheel Collider RPM value is flickering between valid value and undefined.
The RPM value of WheelCollider is flickering between valid value and undefined. In Update()
and FixedUpdate()
in the Script of the RigidBody parent object. The WheelCollider have the default values. (Mass: 20, Radius: 0.57, ...)
The Speed value is the velocity magnitude of the rigidBody. But SpeedLeft and SpeedRight is 1:1 the RPM of the WheelColliders. Later plan to compute the speed by wheel circumference. But why is the RPM value flickering?
Update: Same with speed (velocity.magnitude). If the value is smaller than 1f it change to undefined.
screen.gif
(176.5 kB)
Comment