Magnetic pickup item

Hello, I want to make a magnetic item so when it’s picked up it attracts all the coins to the player. Something Like Subway Surfer or Endless Runner tutorial by Unreal Engine in the Wrap up video. Can someone help me?

You can follow the Endless Runner tutorial as it should be explained how to make it in there.

Nope, it is not explained. They just showed how it looks like


I followed the whole tutorial but I am stuck on the magnet item

This question has been already answered:

Please see: How to have a pickup fly towards the player? - Programming & Scripting - Unreal Engine Forums

It’s not working for me…

If you like I can make a short tutorial setting this up

PLEASE I would be forever gratefull! It’s for a school project and I can’t find any tutorials anywhere… I made the magnet item but when I collect it, it doesn’t do anything and I need it to somehow make the coins fly to me and then it should go off after about 5-10 seconds.

Thank you so much! Well I want to make it to work like this for example Endless Runner: Wrap Up | 07 | v4.7 Tutorial Series | Unreal Engine - YouTube when he picks the magnet up it sets a timer and collects coins in range. I made the exact same Endless Runner following their tutorial but I don’t know how to make the magnet item… I just started using Unreal Engine so it’s a bit hard :slight_smile:

Alright I will try to make it sometime today. Just to help with the tutorial what do you mean go off about 5-10 seconds? What I feel you are looking for is something that’s close enough magnets to you destroys its self, and adds to some variable correct? And what pre set do you want tutorial in third person?

Ok, sorry it took so long, my video recorder only has a 10 minute period and my youtube can’t be more than 15 minutes long so it is in 4 videos. I also had to debug while creating this which I find is good to do in tutorials, because people will see how to debug and easier to find things. If you want me to take it a step farther to have it actually flip on a timer or have a little UMG widget which shows the time left on it let me know. Here is the link the first video. Please marked the question as answered.

YouTube link: Unreal Engine Item magnet within range. Video 1/4 - YouTube

Thank you so much for your time! I will try it right now!