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"

Chain weapon with spline in blueprint

Hi, I'm Korean student.

I wanna make Weapon with Chain, you know, the one Kratos uses? alt text

I found the skeletal mesh just like this weapon.

but it only has blade and handle. no chains. But there are bones for chains And just one piece of Chain. alt text

I think the creator of this weapon must did something with splines. But, I'm not familiar with spline. I tried Tutorials and Checked 'ContentExamples' project. But that kind of things does not work with animated skeletal meshes. Just spawn a new meshes keep going on and on and these meshes stay where they are spawned.

I made splines are following the bones. Using Get socket location and Set Location at Spline Points. alt text

I want meshes are attach to the Splines. Anyone have any Idea for this, please notice me. It's Good for Anything! with no bones or using beamdata, whatever!

Thank you for reading.

Product Version: UE 4.13
Tags:
more ▼

asked Dec 16 '16 at 12:49 PM in Blueprint Scripting

avatar image

작은칼빵
6 2 5 7

avatar image Gamberana Jul 11 '17 at 09:46 AM

have you find a solution? i'm trying to make a whip, i've tried with physic, but the movement is not precise

avatar image 작은칼빵 Jul 12 '17 at 07:39 AM

At start, I wanna make that one piece of chain follow spline and spawn as many as length of spline. Number of mesh by length. But I failed that time. So I just made a section of Chain mesh from bone to bone. And used this mesh as SplineMesh. So this each section shape follows spline but when Spline shrinks this mesh also shrink.

There is way to make meshes align spline as many as we need. But all the ways I found is the meshes don't follows. And spawn new meshes at new spline location.

But!!But!!!! The game contains that skeletal I used actually did it. It used a one piece of chain and spawn as many as length. when space between two bones get longer, Number of meshes increase. Get shorter, number of meshes decrease. It follows bones as curve shapes and This game used unreal engine 3.

There must be the way. But I couldn't find it. I think we need to do some thing with coding. But I'm not coder.... I'm artist.

So, I hope you do what you want. good luck

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

1 answer: sort voted first

You have to use SplineMeshComponent. Just spawn one SplineMeshComponent for each chain segment and then track it's position and orientation as you did before. There is a tutorial about Spline and SplineMeshComponent here: https://youtu.be/kJyWSzfwEk8 but you do not need to use Spline at all.

When creating a mesh for your chain segment do not forget to add extra subdivisions because SplineMeshComponent can only modify existing vertex positions.

more ▼

answered Dec 16 '16 at 01:59 PM

avatar image

c4tnt
1k 13 8 31

avatar image 작은칼빵 Dec 16 '16 at 02:34 PM

Thank you for information! But I think SplineMeshComponent is not I need. Because It's Stretch and Shrink. I tried already.

Problem is the distance of each bones Stretches and Shrinks. I wanna place a one piece of chain as many as distance.

But I'll try the Tutorial you gave me first. I will need it when I can't figure it out.

Thanks a lot!

(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