Quantcast
Channel: Questions in topic: "wheelcollider"
Browsing all 490 articles
Browse latest View live

Set Wheelcollider BrakeTorque to 0 does not release brake.

I have a vehicle that has three wheels. When set the brakeTorque to be a big value (30000), it brakes normally and stops the vehicle. When I set brakeTorques to be 0, it does not release the the...

View Article


WheelCollider rotates mesh wrong

Hello, I want to work on a racing game, currently i only started creating the very Basics and i already stumbled upon a annoying bug. I have a WheelCollider and a mesh as a child on the Collider. I use...

View Article


Wheel collider facing wrong direction while adding to an object imported as...

I designed a car model in blender and imported as fbx (forward -Z, up Y), when I am adding a wheel collider to it keeps facing wrong direction as in picture below, I tried rotating at Z axis on 90 and...

View Article

Fast break with wheel colliders

Hello everyone, i am encountering some problems with vehicles i want to simulate. The setting is a 2.5D game where vehicles can move in one of several distinct layers of the map. That's the plan. To...

View Article

How do I get my wheel mesh to rotate on the proper axis?

I have my model setup with wheel colliders and it drives fine. Everything is working well, including the position of the wheel mesh to simulate suspension. My only issue is that when I run the game, my...

View Article


How to calculate car braking force (using wheelcollider)?

Hello, I am making a simple car AI, which idea is to automatically spawn vehicles and generates a path for each one on a random logic. I have created so far the driving mechanics, the turning mechanics...

View Article

Making visual wheel rotate together with wheel collider

Hello, I was following [WheelCollider Tutorial][1] in Unity documentation and I'm kinda stuck at making the visual wheel rotate correctly. Here's my code: public void...

View Article

WheelsColliders Falls Through Ground, how to fix it?

Hey everyone! Shortly, here is the problem : https://youtu.be/KU9xKSnqXpw WheelsColliders Falls Through Ground, how to fix it? Thank you!

View Article


Wheel collider problems

I know the basics of wheel colliders, but I am still relatively new to them. Whenever I try to use wheel colliders for some reason my car has problems. In my scene, (for personal uses), I took the...

View Article


distance between generated skidmark meshes and wheel colliders

distance becomes bigger with more velocity this is the code #pragma strict private var curFriction : float; var skidAt : float = 0.6; var smoke : GameObject; var skidMarkWidth : float = 0.2; var...

View Article

Wheel Collider causing problems

I added rigidbody to the parent object of wheelcolliders coz collider weren't showing then i added ridigbody to each wheelcollider objects coz they weren't rotating and in the end when i start the game...

View Article

Adjusting tire smoke particle emitter based on wheel slip

Hello ! I have made a car using WheelCollider's and added a particle emitter for tire smoke on each wheel. Problem is, the emitters are constantly emitting a constant amount of smoke. I would like them...

View Article

WheelCollider not calling OnTriggerEnter() of a BoxCollider trigger.

I am using the Car from. Unity Standard Assets Vehicles. The wheels have a WheelCollider. I want to detect when the wheel passes through a boxCollider. However, it is not triggering. The Body of the...

View Article


Wheel Collider Tilt?

I am trying to design a bicycle using the wheel colliders + rigidbody setup. It all works fine, except that i want to somehow disable the bicycle from tilting (or at least limiting the tilt value) when...

View Article

Why is my car so goddamm slow?

I followed so many tutorials but can't find why my car is so slow? Values: ![alt text][1] max torgue = 1000 also tried like 8000 doesn't work steer angle 45 can't almost steer mass 1500 Wheel...

View Article


Car wheels not stopping when I brake

Im creating a kart game and when I stop the kart the wheel dont stop and the kart takes a very long time to stop and reverse ![alt text][1] I have a wheel colider on each wheel ![alt text][2] [1]:...

View Article

how to avoid wheelcollider enter other collider when the car go to the slope.

![alt text][1] [1]: /storage/temp/99208-捕获1.png

View Article


Car with Wheel collider flips out at start of scene

I've been looking around Google and here for a while now and I can't find anything describing my problem exactly. I'm pretty new with Unity, but I'm pretty familiar with C#. I have a simple scene with...

View Article

How to detect my car is drifting or not ?

I am making a drift game. I want to add score points and compliments on during the car drift. How can i detect now my car is drifting and now my car is going straight i-e not drifting ?

View Article

WheelCollider RPM values all over the place, how can I get more even values?

So I'm currently experimenting with car physics. Anyways, when I'm accelerating the car by applying motorTorque to the front wheels, the RPM's of the wheels are all over the place. From one frame to...

View Article
Browsing all 490 articles
Browse latest View live


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