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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Best way to add trigger volume to inside of a mesh?

Hi all. Working on a project where I need to place an object into a 'cardboard' box, and then have an animation of the box closing itself and floating away.

I found one other question somewhat related to this, asking how to use a trigger volume within a blueprint, but it was almost half a decade old and not 100% pertinent to my needs, so here I am.

Essentially I was thinking of just placing a box mesh inside the "cardboard box" object and then changing it's collision type to trigger and un-checking "Visible in Game", then make the trigger activate an animation of the box flying away, but I assume it's infinitely more complex than that.

So my question is: How would you go about placing a trigger volume inside of a mesh and make it trigger a complex animation yourselves? Any and all suggestions greatly appreciated.

Product Version: UE 4.15
more ▼

asked Aug 30 '18 at 04:28 PM in Blueprint Scripting

avatar image

6 1

avatar image ThompsonN13 Aug 30 '18 at 09:58 PM

depending on your situation you may not need a trigger volume as your box could be the overlap component if need be. the other option would be to use a box collision which from my experience is about the same as a trigger volume but can be added to a bp actor. in general though in your third paragraph what you wrote would be viable way to accomplish it.

the details depend on your situation but you could easily do something like: on begin overlap -> enable input. on input event -> play anim (place item in box and close box -> move to.

avatar image mightyenigma Dec 03 '18 at 04:29 AM

Yes just make sure your mesh asset's collision primitives dont interfere with any additional volumes you add.

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

0 answers: sort voted first
Be the first one to answer this question
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