x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How can I change Vehicle wheel resistance?

Hello, I have been working with the UE4 vehicle template and I need to change the amount friction applied to the vehicle. I can't find how to change the wheel resistance.

I want the vehicle to be able to coast for a while after you stop accelerating.

Thanks a lot!

Product Version: Not Selected
Tags:
more ▼

asked Sep 24 '14 at 05:19 PM in Using UE4

avatar image

Tan2684
66 4 8 13

avatar image Tan2684 Sep 28 '14 at 03:13 PM

I still need help with this

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

4 answers: sort voted first

Never mind, I found a way to do it. I had to get the car to go into neutral when I want it to coast.

more ▼

answered Oct 07 '14 at 03:47 PM

avatar image

Tan2684
66 4 8 13

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hey Tan2684-

Here is a video that explains handling and friction specifically for the vehicle template: http://www.youtube.com/watch?v=6vFZ9alQKqI&index=3&list=PLZlv_N0_O1gaz6eETtIxcmUDnqu5A-8At. This should help you get the behavior you're looking for.

Cheers

Doug Wilson

more ▼

answered Sep 24 '14 at 07:04 PM

avatar image Tan2684 Sep 25 '14 at 02:47 PM

I've watched that video multiple times before posting this question. The video only talks about friction when turning.

I'm looking for rolling resistance. How long the car can coast before stopping.

avatar image Doug E ♦♦ STAFF Sep 25 '14 at 05:35 PM

I'm working off of the assumption that you are your project is based on the vehicle template. Inside the content browser if you open the Sedan folder that is a physical material named Sedan_PhysMat. There is a section named Vehicles with the option for Tire Friction Scale

avatar image Tan2684 Sep 25 '14 at 10:12 PM

I've set this number to zero and even tried negative numbers. The car still comes to a stop extremely quickly.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hey Tan2684-

It appears that the simplest way to control the coasting effect you're looking for would be to set it up inside of blueprints. Depending on how you are controlling your acceleration you should be able to set up a timeline that decreases your speed over time. If no input is used to increase speed during this time then you can set the vehicle to come to a stop once the speed is reduced below whatever threshold works for your case.

Cheers

Doug Wilson

more ▼

answered Sep 29 '14 at 04:20 PM

avatar image Tan2684 Oct 06 '14 at 07:14 PM

What would I use to set forward speed? I have the forward speed and am currently just subtracting x every second. But what would I set the returned value as to change the vehicle forward speed?

avatar image Doug E ♦♦ STAFF Oct 06 '14 at 08:45 PM

I'm not sure I understand your question. When you take the current speed and subtract x, you should be able to set that result back into the current speed. Over time this will continually decrease speed and slow down the vehicle.

Hopefully this helps answer your question, otherwise if you could add more detail to explain what effect you're trying to get.

avatar image Tan2684 Oct 07 '14 at 03:40 PM

What do I use to set current speed? I can't find a function for set forward speed like I'm using to get forward speed.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Why do you want coasting from vehicle while several experts seem it as a bad practice? While driving at the sloppy way ,coasting is good for saving small amount of fuel but it has another side too. You don't have proper control over your vehicle, if friction between car wheels and ground surface is less than a certain level during coasting.

more ▼

answered Feb 10 '15 at 12:49 PM

avatar image

mike coleman
1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question