Hello! I just wanted to ask, I always thought about this but is it possible to record your player movements and export it as keyframes inside of an animation?
I don’t really know scripting so I was wondering if anyone has done this before!
If not then that’s fine, thank you for the help!
I would say it’s a possible system, but you would have to carefully evaluate the optimization of this system in case you were to put it to work in a real game, hahaha, if you have to record many frames from many players and save them in a DataStore. For the keyframe creation part, just create a KeyframeSequence and add the Poses (KeyframeSequence:AddKeyframe). Check if the post below is similar to what you need.
Hi! This is extremely similar to what I need, although it’s off-sale sadly
I’ll try to search around if there’s any other similar things! : D
quickly made up a module here that does what you wish i believe
RecordAnim.rbxm (1.9 KB)
some example usage here:
(the recording depends on where its started so thats why the character sometimes went into the floor in this footage)
local RunService = game:GetService('RunService')
local RecordAnim = require(game:GetService('ReplicatedStorage').RecordAnim)
local Player = game:GetService('Players').PlayerAdded:Wait()
local Character = Player.CharacterAdded:Wait() -- just getting the player character
for Index = 1, 3 do
print(`WILL START RECORDING IN {4-Index}`)
task.wait(1)
end
print('BEGIN')
local Recording = RecordAnim:BeginRecording(Character)
task.wait(4)
local KeySeq = Recording.Stop()
it creates a keysequence under the module itself which you can then just save to roblox
Hi omg thank you so much! This works perfectly for me, thank you for doing this ![]()
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.