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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Animation specific sockets

So I've made a socket on my mesh. Whenever my character is idle, the socket requires an other transform than when running. I tried changing the transform/rotation of every animation in UE4 so the weapon is in the right place. However seeing that sockets are linked to meshes, this is impossible.

How would I do this? How does one change the socket's transform when playing a different animation? I'm quite new to game development, so excuse me for my noobishness. :p

Product Version: Not Selected
Tags:
more ▼

asked Mar 30 '14 at 05:07 PM in Blueprint Scripting

avatar image

westre
3 1 2 3

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hi, If I'm understanding correctly, I think you could achieve this by adding the socket to a bone in your skeleton and animating the bone (instead of the socket). We often do this for weapons. We'll have a bone that is the child of the hand called 'Weapon_Right' or something like that and attach the weapon socket to that bone. Then, we'll animate that bone whenever the weapon should be anywhere other than in its default position.

If you can't add bones to your existing skeleton for whatever reason, you can change the socket that your weapon is attached to via Blueprint. So, if you wanted the weapon on one socket while idling but to pop to another socket while running, you could do that.

More info here (Blueprint attachment at bottom of page): https://docs.unrealengine.com/latest/INT/Engine/Content/Types/SkeletalMeshes/Sockets/index.html#blueprintattachment

more ▼

answered Mar 30 '14 at 05:34 PM

avatar image

Ray Arnett STAFF
1.4k 45 17 71

avatar image westre Mar 30 '14 at 05:44 PM

Thanks, will try both the weapon bone and blueprint attachment. Much appreciated! :)

(comments are locked)
10|2000 characters needed characters left
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