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"

Place an object in a certain place

Hello.

I'm trying to create a blueprint in which after you pick up an object, you have to place it in a certain destination (That destination would have the same shape as the object). Something similar to the crafting system in The Forest, where you have a translucent object in a certain place and you have to bring a similar object to that destination and they snap together.

I've only recently started using UE4 so I don't have much experience. Any help is greatly appreciated.

Thank you!

Product Version: UE 4.17
Tags:
more ▼

asked Feb 26 '18 at 04:39 PM in Blueprint Scripting

avatar image

Chris997
11 1 2

avatar image aNorthStar Feb 26 '18 at 07:22 PM

... I'd have the translucent version of your pickup actor mesh in your level, surrounded by a trigger volume... combine this into one BP and maybe call it DropboxBP

Every so often (maybe every .5 second, not on tick for performance reasons) your trigger volume checks to see if the the correct PickupBP actor is inside the DropboxBP trigger volume boundary (i.e. if the player has dropped it, or the physics system somehow moved it there using a clever physics puzzle). If this condition is true, then Tinterp or Lerp the vector location and rotation of the PickupBP actor to smoothly match the vector location and rotation of your translucent mesh of DropboxBP

Then you could add a little lighting, twinkling particle effect and play a sound when the PickupBP and DropboxBP align... it would look quite lovely :)

avatar image Chris997 Feb 27 '18 at 08:50 AM

Thank you!

I understand what are you saying, but it's going to take me a while to figure out how to do all of this, especially because this is just a hobby and I also have a full-time job. Thanks again.

(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