Quantcast
Channel: Questions in topic: "wheelcollider"
Viewing all articles
Browse latest Browse all 490

Wheel Collider RPM value is flickering between valid value and undefined.

$
0
0
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, ...) ![][1]

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. [1]: /storage/temp/126614-screen.gif

Viewing all articles
Browse latest Browse all 490

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>