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"

[Blueprint] How to change Vehicle Wheels (car customization)?

Let's say I want the player to be able to change the wheels in a driving game.

I managed to swap the actual mesh via StaticMeshComponents and AttachToComponent. But I don't know how to change the actual wheel properties at runtime (radius, suspension settings and friction - the data in the wheel class basically). The best way would be to swap the wheel class altogether, but this does not seem to be exposed to blueprint, or is it? There's also the "Wheels" array when referencing "VehicleMovement", but that seems to have almost no variables exposed, either.

Do I have to expose it via C++ (and will that even work?) or is there a way to access the values in BP?

(The only thing I can think of right now, is to make a child BP of my vehicle for each possible wheel class and swap the whole thing, but that is very tedious, hacky and highly inflexible.)

Product Version: UE 4.12
Tags:
more ▼

asked Jun 21 '16 at 04:00 AM in Blueprint Scripting

avatar image

Cpt.Trips
107 2 10 20

avatar image Taberu Jul 06 '17 at 11:28 PM

Hey mate, do you still need it? I'm currently working on getting the vehicles cooperate with the upgrade system, so the same thing. I will paste the answer here, when I'm done, might be a few days though.

avatar image Cpt.Trips Jul 07 '17 at 07:01 PM

Would be awesome.

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

0 answers: sort voted first
Be the first one to answer this question
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