Return to original position

I am creating a system to inspect objects, however, I would like to know how I can make the inspected object return to its original position

The events are as follows:

Start Inspect:

Stop inspection:

If anyone can help me, I would be grateful

PS: otherwise the whole system is working properly, I can go to the item, click, inspect and release

just cache its transform before you move it and then set transform on stop.

2 Likes

Can you explain to me how I do this?

at the beginning of start inspect, GetActorTransform and save to a variable.

on stop inspect get that variable and SetActorTransform. you can delete the relative location you have

2 Likes

It worked out!!!

I did exactly what you said, the only difference was adding a Detach From Actor at the end so that the object wouldn’t be stuck to the character

I’ll leave the solution here:

Start Inspect

Stop inspect

I DON’T EVEN KNOW HOW TO THANK YOU, SO HERE YOU GO… THANK YOU

2 Likes

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