Download

Trying to make a physical object (sphere) to chase me

I have tried for many hours without success. I would appreciate some help on this. :slight_smile:

3aec7148bc856fb1a063c5f75eccf0b41455f969.jpeg

Looking for something similar myself. I’d play around with adding force behind the object opposite the players direction? I’d look into it more but I may not be able to. These may help:
https://youtube.com/watch?v=5kltaGld6fQ
I’d think adding force behind the physics body may work but it has to collide with something, I was playing around with adding another component behind the static mesh, sending a line trace to it every tick and add force from the impact.

To be honest I forgot that I could use force.:slight_smile: . Thanks for letting me know.
I will try again.
Let the force be with you. :wink:

No problem, let me know how it goes! Been meaning to have a similar object follow the player. I’ll let you know if I figure something out.

I think I have things working now.
78d30decdf7f725eb737d30b9a5777b360048e67.jpeg

https://youtube.com/watch?v=GhpuoR32ra0

Here, this is the math involved, the execution is up to you. The Rotate vector is an offset so the object doesn’t end up directly on your character. Interp speed controls how fast it moves to the location

http://i.imgur.com/GhVka9G.png

Thanks awesome! :slight_smile: