Help Desperately - dragging/ pulling in the third person

Im trying to make my player character drag/ pull an object in the third person.
Im start with using Grab Component at Location and then using tick to update the object location and rotation.
The problem is i need the player to be faceing the object all times.

How can i do this?

Ive been trying for 3 month and im Desperate any help would be appreciated thanks

1 Like

Can you add some video or images, it will be easier for people to understand

1 Like

Theres a node in bluprint called look at rotation


Start will be your character’s location and Target would be your object’s location
the rotation would be the rotation needed for your character to look at that object

1 Like

But what node do i set it into

in the function that is being called when character is grabbing the object

Im going to try this, I’ll let you know. Thank you

1 Like

Didn’t work the player did not say looking at the object when moving

show your code





Where are you trying to make the character face the object?


Correction to the above comment,
Use this node this way, whenever you want to pulled object to face the character

1 Like

Ok ill try it

(post deleted by author)

OK, so I mess around with it a lot.

I went with Set Relative Rotion. ( At first it did not work with “Kitty Ref”, So I did it with the mesh and it work so of.)

When I grab it the player turn around so I save it’s rotation and set the player capsule component to it after.

But when you solve one problem more come out.
When I tried to let go of the object, I just set the mesh back to the early variable.

Good unless as the player I drag the object about in a circle and let go. The whole rotation goes around.

So now I need to know the rotation of the object at all times so I can reverse it and set it for the player, I think?
Maybe how do I do this?
It makes me feel like a smell toast.

Help?

Also the player can turn on a dime and that makes is horrible, how do I stop that?



Can you provide a video of the behaviour thats happening in the game.
Its hard for me to understand what is going wrong with the code

I found a way to do it, thanks

1 Like