Hi, I have a child gameobject that follows the parent, until I call an Animation Event function to leave the parent -
void LeaveParent()
{
transform.parent = null;
}
It works, but the transform changes from the last animation frame positions, to a new position. So, how can I keep the position/rotation of the last animation frame when I call the the LeaveParent() method?