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 spawn and move Static Mesh to another Static Meshs Socket within BP

Hey guys! I'm struggling with the following issue: I want to spawn a static mesh (Card) at the player position when I overlap a trigger volume. Next I want it to move to another static mesh's socket and then despawn. I'm trying to simulate the process of paying at a vendors machine without cash but as instead with a card. As I'm trying to do this for multiple machines (BPs) should I make an interface out of that or add it to every BP, design it in the Level BP? I'm fairly new to UE4 BPs, any help is really welcome! alt text alt text

Product Version: UE 4.9
bp01.png (904.5 kB)
bp02.png (436.2 kB)
bp03.png (1.7 MB)
more ▼

asked Mar 07 '16 at 09:04 AM in Blueprint Scripting

avatar image

Appsite GmbH
92 4 8 21

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

1 answer: sort voted first

You have two options I can see.

  1. Make it animation based. When activating your sequence force the player character in a specific position in front of your machine and have the card move via an animation from A -> B. This only works for one specific position of socket destination per animation.

  2. Have a Card Actor that you spawn at position A (where it should start), give it position B (the location of the socket) and have it interpolate between those two positions (maybe with a point C in between so it makes a nicer curve). When it is near the final destination destroy the actor again. A short transition actor so to speak which only has the job to move from A to B.

more ▼

answered Mar 07 '16 at 02:45 PM

avatar image

5.9k 291 86 293

(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