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

How to get wheel spin with a Wheel Collider

$
0
0
Hi all, I am attempting to make a basic car game and have set my vehicle up with a few colliders. When I pull the vehicle up to a wall in an attempt to spin the wheels I get 5rpm. I car can fly along, but can't spin at all with reasonable numbers. I can get wheel spin/a higher rpm, but only with front friction of 0.0005 and torque of 150,000 which seems crazy. All my wheels are 1x1x1 scale, and the vehicle only weighs 1500. They weigh 25 each and have a rad of 1. My acceleration code is: `RLWheelCollider.motorTorque = torque * Input.GetAxis ("Vertical");` for both rear wheels. Why are these values at such extremes? Edy's vehicles get wheelspin with standard friction curves scaled down to 0.2. Also a sidenote - the vehicle can still flip with a sideways factor of 0.001..? So if the same issue is causing that I'd be even more thankful for a solution. Cheers

Viewing all articles
Browse latest Browse all 490

Latest Images

Trending Articles



Latest Images

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