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 to prevent wheels spinning too fast when they don't touch the ground

Can somebody tell me how to prevent wheels spinning too fast when they don't touch the ground? Is there any setting for that? I'm using Simple Wheeled Vehicle Movement Component. On the screenshot, you can see what happens when wheels are in the air and you trying to move forward. Such an effect caused by wheels spinning too fast. When they on the ground, wheels spinning looks correct.

alt text

alt text

Product Version: UE 4.21
Tags:
more ▼

asked Apr 02 '19 at 12:22 PM in Blueprint Scripting

avatar image

Kelheor
76 6 10 16

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

1 answer: sort voted first

Found a solution. Because it's a blueprint only project and I don't have access to some PhysX variables, I did manual detection via line trace to check if wheels collided with the ground. Then I'm setting Drive Torque to 0 if wheels don't touch the ground. It's important to set Drive Torque to 0 because if you just don't do anything instead of applying zero torque, your wheels still start spinning like a crazy.

more ▼

answered Apr 02 '19 at 01:52 PM

avatar image

Kelheor
76 6 10 16

(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