Is there a way to make a deforming static mesh in real-time?

So I created a BP that moves trains along with a spline. But I have no idea how to make flexible connections between train cars while trains are moving by tick event.
Is there any possible way to do that? or Please, give an idea how to do it.

Hey there @Alanbmpark! Welcome to the community! I need to gather a bit more information about your use case before I can give a clear answer and some resources.

Is this more stylized or realistic?

Since you’re working with splines, are the other carts also going to be on the spline or trailing the first?

Since it’s spline based, almost certainly not physics, but I have to ask because I’ve assumed wrong before, physics or direct movement?

flexible connections between train cars

I, too, am not sure. How does it look and suppose to work?

  • This could be a static mesh, skeletal mesh, with physics or without - depends on the level of fidelity you want to achieve:

image

  • This could be a spline mesh component?


You’ll need to provide way more info.

  • are pawns traversing between the cars?
  • are we making tiny model trains instead?
  • is it functional or just visual smoke & mirrors?
1 Like

Hi @Everynone I’m trying to create the second photo connection. It’s a static mesh same as other train components. I want to make this connections deformed while trains are moving on the track(spline). I don’t know how to make this connection deformed naturally when the trains are moving(following a spline)

Look into a Spline Mesh Components. It’s a very well documented topic. Tons of tutorials.

1 Like

I agree with Everynone, spline mesh tutorial below!

Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.

1 Like