Creating a magnetic field on pickup that attracts certain objects

Hello.

I am trying to achieve a simple Power Up for the character, that he can pick up, and that makes the character magnetic for, say, 5 seconds.

There is a great visual of it in this video: Endless Runner: Wrap Up | 07 | v4.7 Tutorial Series | Unreal Engine - YouTube (fast forward to 4.50).

I have made a Pick Up mesh, that the character can interact with (collide with). However it doesnt do anything yet.

Anyone know any good solves for this ?

Hello first of all are you making the same game? I’m trying to think about how I would go about this but I would most likely end up using a movecomponentto node triggered by a trigger box. What you trying to ‘attract’ with the magnet and what is the setting of your game?

We’re trying to create something similar, so in essence all we need to figure out is how he made his golden donuts move towards him while having the maget-buff active.

Hi!
You can quickly achieve this with timeline and lerp.
See the images attached.
The static mesh component is the mesh or bp you want to magnet to your character.
Good Luck!!

It worked! Thank you so much! Brilliant help and quick answers!