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"

How to switch a mesh between sockets.

I'm working on a sword and shield prototype character and I'm unsure on how to go about switching the sword on his hip to his hand. Any insight into this process would be appreciated thank you. Also for some background I've already completed a combat mode, and drawing and sheathing animations. I just dont know how to switch the meshes position.

Product Version: UE 4.10
Tags:
more ▼

asked Oct 17 '16 at 02:40 AM in Blueprint Scripting

avatar image

The Alpha Maiestro
22 4 6 7

avatar image The Alpha Maiestro Oct 23 '16 at 06:08 AM

Some shots of the code. alt text

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

2 answers: sort voted first

Hi.

plug a sword in target of attach actor to component and plug character mesh in parent and choose a socket you already created.

for drawing sword you can detach that and then attach to another socket

more ▼

answered Oct 23 '16 at 03:25 PM

avatar image

saeedc
2.4k 73 43 108

avatar image saeedc Oct 23 '16 at 03:30 PM

alt text

a.jpg (182.4 kB)
avatar image The Alpha Maiestro Oct 24 '16 at 08:05 PM

Where is this part of the code located. I'm not getting those position options.

avatar image saeedc Oct 24 '16 at 08:43 PM

alt text

alt text

alt text

alt text

1.jpg (160.7 kB)
2.jpg (140.9 kB)
3.jpg (268.0 kB)
4.jpg (241.1 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

If the sword is a separate actor then the process should be simple you could use one of these nodes.

alt text

You would have to, of course, create a socket in your character skeletal mesh beforehand, so the sword can be attached to that specific part of the mesh.

attach.png (409.5 kB)
attach.png (409.5 kB)
more ▼

answered Oct 17 '16 at 03:12 AM

avatar image

MacDx
600 17 9 33

avatar image The Alpha Maiestro Oct 23 '16 at 06:06 AM

I've tried them a little, but I'm confused on where to place and how to call the items im switching between slots.alt text

(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