How can I animate a hiding sequence?

Asked this on Unity Answers about 2 weeks ago. Got my first answer a couple days later. However, the answer wasn’t actually helpful and just told me to use Timlines and not how I could implement it with what I need.

So anyways, what I am trying to do is make it so a player can hide inside a storage cabinet for my horror game I have been making. There is one problem, the animation won’t be relative to the storage cabinet. Especially since I plan to have multiple storage cabinets so it wouldn’t really work.

I did think that Timelines will work, however it does sort of work but I didn’t account that the player won’t be relative to the current storage cabinet.

So is there any way to animate the player relative to the storage cabinet? I know i could script it, but wanted to see if their may be easier ways first before creating an entire script to calculate everything.

Any animation can be relative to the root (Hip bone / feet) or global.
Guess what? No escaping “Programming” if we want to anything serious.

Well yeah, just said I don’t mind programming just needed to know anything quicker before programming. Plus, I think I know how to program it now.