Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I get an animation to play inside of a viewport frame?

Asked by
Sop8x 9
3 years ago

So I have a viewport frame with a World Model that has a model inside of it of an r6 character and what I want is that the r6 character would play an animation inside of the viewport frame

0
LOL turns out my dummy model was broken Sop8x 9 — 3y

2 answers

Log in to vote
0
Answered by 3 years ago

You can't, but you could try playing an animation in a rig that ins't parented to the viewportframe and make a loop that changes every part's cframe to the rig that is currently playing the animation

Ad
Log in to vote
0
Answered by 3 years ago
Edited 3 years ago

You should use WorldModels to play animations, they allow for some physics to work in ViewportFrames. To be honest, I'm not completely sure how to use them, but here's the API documentation. Hope it helps :D

https://developer.roblox.com/en-us/api-reference/class/WorldModel

Answer this question