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

Is there any way to tell a wheel collider which way gravity is without Physics.Gravity?

$
0
0
I have an alternate gravity system in the works, and things have been going quite swimmingly, until i tried to implement vehicles. It appears that if I change Physics.Gravity to (0, 0, 0), while still applying force to the rigidbody in the direction of gravity (0, -9.81, 0), it no longer understands how to grip the ground, and therefore does not move when I attempt to. It also slides to the side as if it were touching a surface with zero friction after it hits the ground. I had thought perhaps there were a way to alter Physics.Gravity before and after the WheelCollider calculations for only affected objects, but there does not seem to be a way to order scripts to do it this way either.

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>