Is there a script that can be used so that you have a FirstPersonController that can step onto an animated object(such as a cube that was animated in unity) and it will stay on and move with the platform? If anyone has a script then you could put it below as an answer.
I have already read that you can make the animated object a parent of the FirstPersonController, but I do not know how to write the code properly.
(if you put a code below, could you tell me what kind of script it is? (Js, C#, Boo))