- Home /
How to make pre-recorded character movements, then have them playout during a scene?
What I mean by this: During runtime, with a rigged character model that has walking/running/idle animations, move the character around the environment for maybe a minute or two. Then, save that transform cycle to be reused as any other asset.
I'll try to reexplain what I'm going for:
The character asset has been rigged for animation. It has an Idle/Walk/Run cycle with a script for manual character movement. I want to be able to record myself walking this character around and save that movement for use latter. Another example, a developer manually driving a car during a cutscene for a more custom look instead of scripting the movement out.
A visual example would be: During Halo Reach, this initial cutscene, one of the developers was manually driving the warthog.
I think this feature can be solved similarly to how time can be reversed in certain games: the position and rotation (and all other necessary parameters, like animation state) should be saved during recording in FixedUpdate()
, then during replay apply the recorded data in FixedUpdate()
(interpolating in between if necessary, for smoother results).
The reason to use FixedUpdate()
is to make the data (more) deter$$anonymous$$istic.
Your answer
Follow this Question
Related Questions
Jump Animation questiom 0 Answers
Record Animation at Runtime? 5 Answers
Children Object rotation/position get reset after Initializing Animation Recording 0 Answers
Problem with unity cube character 1 Answer