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 move components with an animation?

So let's say we have a trap that is triggered by a volume. Player walk in the vicinity and we play the trap animation (exported from maya). I have another volume on the spiked ball, which will 'kill' the player if it collides with his/her capsule. My issue is I cannot move the volume with the animated skeletal mesh. I've tried using Joint Orientation and Sockets. And I cannot find specific documentation to problem solve.

Edit: This trap is under an actor blueprint to contain the logic. I'm wondering if I should be animating the mesh in matinee rather then Maya.

Just to be clear, I need the kill volume to translate and rotate with the spiked ball. Thanks, P

Product Version: UE 4.15
Tags:
more ▼

asked May 14 '17 at 10:58 PM in Blueprint Scripting

avatar image

Petro
1 3 5 5

avatar image III47III May 15 '17 at 09:06 AM

Have you tried making the kill volume a child to the spiked ball mesh?

avatar image Petro May 15 '17 at 09:28 AM

I have, that was my initial thought when I first made it. But the whole mesh (ball, hinge, base) come under one skeletalMesh component.

avatar image III47III May 15 '17 at 09:40 AM

Ok, try making a blueprint from this skeletal mesh and then adding a collision sphere to it then parent it to the skeletal mesh. Then on the event hit for this blueprint, cast to the player blueprint and destroy the player.

avatar image Petro May 15 '17 at 10:12 AM

Yes I think I understood what you meant. I have made this whole trap an Actor, and the actor blueprint contains the logic to 'trigger' and 'kill'. I also have the volumes as children of the SkeletalMesh component already as you suggested. Perhaps my problem is that I'm animating my mesh it in Maya instead of using the Matinee?

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

1 answer: sort voted first

It seems like I had to group my volumes under a component (scene). Then use that as my pivot and set the relative rotation from the socket!

more ▼

answered May 20 '17 at 06:59 PM

avatar image

Petro
1 3 5 5

(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