All I want is a cube to pivot 90 degrees on 1 side to form a “trap door” like behavior. I made a script to randomly play the animation I recorded, but all the other cubes stack on the location the recording was made. The recording was made inside Unity, I don’t have software to export to unity.
What’s the easiest way to make a pivoting trap door that won’t default to the location it was created? I tried putting it in a gameobject and controlling the gameobject to no avail. I tried deleting parts of the animation and it screws the entire thing up (looks halfway open by default)