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"

Does someone know how to make a deformable tire?

I have a plan to make a tyre flat/puncture when it contacts surface/is damaged.but, I can't come up with anything.

Please, Anyone, help me.

Thank you in advance.

Product Version: Not Selected
Tags:
more ▼

asked Jul 28 '17 at 04:17 PM in C++ Programming

avatar image

Verstinyon
8 1 2 4

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

2 answers: sort voted first

there are a few ways to do this, depending on the effect you want, and how expensive you want the technique to be. if you have alot of vehicles, you might be better off just changing the collision size to match the rim instead of the tire, so it sinks into the ground. on top of this, you can swap out the tire mesh so the rubber part is at a wonky angle, then after it takes enough damage from driving enough distance, you can use a shredded tire particle effect and swap out the mesh for a busted up rim.

if you are making a game where only a few vehicles will exist in the scene, or if its part of a cutscene, you can spend more resources on the effect. you can add a bulge in the material using world position offset, vertex world space normals, displacement, and tessellation. this would be similar to making snow bulge on top of a rock, no matter which way you turn the rock.

https://www.youtube.com/watch?v=sE64iTjnoUM

you could also try blending between morph targets that you create from a lattice deformer in a modelling software like blender or maya. this would cost more memory per tire model, add more work for each art asset, and might not even be more performant than the shader method, so i wouldn't recommend it, unless you want an extreme amount of control for a cutscene.

then there is soft body physics, which UE4 doesn't really have at this point. but you might be able to get apex cloth to behave like a torn up tire.

so for many vehicles, or distant vehicles, use the cheap wonky angle method. for cutscenes or close up vehicles, you can put a vertex shader with displacement tessellation on the first LOD.

more ▼

answered Jul 28 '17 at 08:32 PM

avatar image

ScottSpadea
9.6k 320 205 450

avatar image Verstinyon Jul 29 '17 at 03:55 AM

Thank you so much!

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

https://www.youtube.com/watch?v=w73BQJOX9kc&feature=youtu.be&t=1h15m15s

Used methode looks clumsy, but maybe you get other ideas out of that.

more ▼

answered Jul 29 '17 at 07:11 AM

avatar image

Aonage
6 2

avatar image Verstinyon Jul 29 '17 at 08:15 AM

Thank you for the additional answer! It's very helpful.

(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