how to use add force at location to pull object towards you

im kinda new to unreal and i wanna know how to use add force at location to pull object towards the player i tried other nodes didnt work

Try:

That’s as generic as I can think of.

thanks but i want when i get close to it it pull it like a health pickup how can i do this using add force at location

  • why do you need At Location for this?
  • why not just add force?
  • do we even need physics for this?

You’ll need to clarify how it’s supposed to work. Please be specific if possible.

ok i dont use add force because i tried alot and alot and it didnt work and give me errors at location seems fine it didnt give me errors but i dont know how to use it to pull things around me so in short because add force has errors at location dont have also i dont know i need phyisics or not i just want if my charcter close to object it pull it

You do not need physics for this, it would just overcomplicate things.


  • give the player a collision volume, note the collision settings:

  • volume scoops pickups, note the collision settings:

thank you i was hoping for add force but this can also work only proplem with this is i have to setup the collision settings and scale thats why i choosed add force in the first place

You’d need to add more bits mentioned above.


You could can also use the Projectile Movement Component which is, kind of, like physics:

1 Like

ok

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.