Problem with returning a picked up object to its place.

I made a feature of pickup and place again an object according to this tutorial: https://youtu.be/aR7PVYo2ZGo In the example with sphere from the video everything is great, but… For example, I have a piece of paper with text, which I place horizontally on a certain surface. When the player picks up and reads this piece of paper and returns it to its place, the piece of paper simply becomes vertically where it had been horizontally placed before… How can I fix this?

Hey @CptButtHurt7!

Looks like this tutorial only sets the location. Have you tried getting and setting the rotation as well?

1 Like

Thanks for the reply! I had already thought of that myself. I will try to fix the situation using these nodes. But I’m not that long ago I started to understand blueprints, I hope I’ll figure out how to add these nodes.

Thank you again. I think I figured out how to solve the problem. But now I have this problem: If the object is placed on the ground from the player’s height, everything is fine. But if you try to put the object on some surface like a table or like in the video on a cube… the object falls through every once in a while. Collisions of both the object and the surface are set up by themselves. I tried different variants to try. All without results. Maybe something in the Physics settings should be set correctly?

Problem: https://youtu.be/PUsyOgglIBY

Hey @CptButtHurt7,

Assuming the ground is a plane, it looks like your object is attaching itself to the center height of the object it’s being placed on, not the surface.

Also, how did you fix the rotation issue? Would you mind sharing your solution to the rotation issue so someone else who also has the problem could look to your post for a possible answer?

1 Like

I tried changing the Pivot points, nothing changed. I even imported a more complex object than just a standard cube and customized the collisions. The object from the hands still flies through the surface on which it was lying, even if the surface pivot is “raised higher”. Now it turns out that in that lesson, the object is flying somewhere wrong. And I would like to realize so that it returns exactly to the same place where it was taken from.

As for solution to the problem with rotation in this case, I simply added a 90 degree rotation of the object along the Y axis at the end. And now the object does not “stand” on the surface when returning to it, but “lies down”. + To avoid problems when rotating the object for inspect, I disabled the character’s input, which allows the player to return the object exactly where he took it from.

UnrealEditor_btEZbvxSCx

Hey @CptButtHurt7,

So to clarify, are you trying to put your inspected object back exactly where you found it or are you wanting it to go to the surface level of where you are dropping it? Both would require different approaches. Could you maybe explain in detail the end result you are trying to achieve?

Any additional specifics you provide may go a long way in solving your problem!