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"

Drift Mechanic

Hello, I have a character that runs at a high speed and I'd like to implement a drifting system so it can take sharp corners and just have it be a cool part of the movement system overall.

How would I go about doing this in blueprint?

Thanks for the help!

Product Version: UE 4.20
more ▼

asked Sep 11 '18 at 02:37 AM in Blueprint Scripting

avatar image

75 2 4 8

avatar image Jinkuu Sep 27 '18 at 06:09 AM


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

2 answers: sort voted first

The first thing I would try would be playing with the Ground Friction and Deceleration etc. kinds of variables in the CharacterMovement component. I have gotten drifty motion that way on a Character pawn.

more ▼

answered Sep 11 '18 at 06:10 PM

avatar image

3.8k 18 23 20

avatar image Jinkuu Sep 11 '18 at 10:24 PM

yeah I tried that but it just feels like the character is on ice I guess I'd want it to control more like mario kart drifiting I guess, where it basically pushes you in a circular direction based on if you drift left or right.

Thanks for the help though I'll keep experimenting!

avatar image mightyenigma Nov 26 '18 at 03:45 AM

Sounds like a matter of traveling in a direction other than the one you are facing while maintaining traction.

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

Character running? Is the character a vehicle?

If it's a vehicle, adjust the wheel settings. I think the setting you want is the "Long" speed. Crank that up and you should be able to drift through turns (at speed).

Also there's a setting for rotational resistance. Adjust the Z axis.

more ▼

answered Nov 26 '18 at 04:20 AM

avatar image

216 4 4 11

(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