So, at the moment, im making a kind of profile preview thing that shows the character in a viewport(the head at least). And all the animations that happen on the actual character are replicated onto the preview character.
Now I got the viewport working, but not the animation replication, i tried playing animations onto the viewport rig, but they dont seem to play, so the solution I got is to get the characters body parts CFrame and replicate them onto the viewport rig that way.
But in my opinion, this just seems very unoptimised. Is there any better way to do this?
Hmmm, could you just parent a camera into the player’s character then use that as a viewportframe? Do you understand what i mean? This way you aren’t replicating a character and their animations you are rather using the character itself.
Edit: Scratch my idea it wouldn’t work
animator.AnimationPlayed:Connect(function(track)
local newAnim = Instance.new("Animation")
newAnim.AnimationId = track.Animation.AnimationId
local cloneTrack = cloneAnimator:LoadAnimation(newAnim)
cloneTrack:Play()
end)
Here is a code function to determine if an animation is being played. All you have to do is load it onto the clone’s animator (Using a local script so it won’t cause stress on the server)