Hello, I recently have been obessed with the creation of cutscenes since I learned to use Blender to animate, and I know many developer probably would like to be able to animate objects within blender and have them exported to studio easy, and this is what this blender addon/studio plugin is made for!
My blender OAE, converts keyframe animation to studio exactly how it was in Blender!
@StingyDudeman65 @crossy_blue @rickrolledlololXD2 @Reeezzzeee @Shaun_Qi @Awesomepad @CrystalixDoesStuff @sunomura @AySplash @BandaidKidd @ZxCryB @thrashchain @A_SquaredAnimations @SolidTurret
Get the roblox plugin here:
Get the blender addon here:
Quick Demo
Here is a simple racing car mesh object where I have it moving just move forward until about frame 70
And here is that car animation imported in studio!
Setup
So first off your going to want to install the blender addon and roblox plugin, anything above Blender 2.8 should be fine!
Once you have install the blender addon you’ll have this new tab on the side (if you dont see it press N in the viewport)
#1.
After this get your object of choice, make sure it’s just one single object; unfortunately my OAE only supports objects that don’t have additional parts so right now it ony works on objects that are just one single object so that means models aren’t yet supported…!
#2.
Anyways once you have your object make an animation of your choice, since your in Blender it offers alot fo different features to make cool stuff, like object constraints and stuff like that!
#3.
Once your happy with your animation, click the ‘Export Object Animation’ button (make sure you have an object selected or you’ll get an error) and it’ll tell you it copied something to your clipboard, this is the data that’ll tell studio how to ‘compile’ the animation!
#4.
Head over to roblox studio, you should have installed the plugin by now and click on Blender Object Animation., it will come up with a script and you’re going to want to paste what Blender copied to your keyboard!
#5.
Once, you do that it’ll close the script automatically and it’ll put a folder called ‘UntitledObjectAnimation’ in workspace for you, this is the folder that holds the CFrameValues and Vector3Values
#6.
I hand-crafted a module exactly for this purpose, you can get it in the same github!
https://github.com/dextermorganfan/Blender-OAE/blob/main/ObjectAnimationModule.rbxm
I strongly suggest you use the module I created for playing the animations
local ObjectAnimation = require(game.ReplicatedStorage.ObjectAnimation)
local racecar = workspace.racingcar
local animation = ObjectAnimation.new(workspace.racecar_anim)
--[[
Parameters:
relativeto : Part -- where the animation where start relative too
FPS : number -- make sure it matches the one you exported with in Blender
partToAnimate : MeshPart -- the part that will be animated
offset : Vector3 - positiing offset
flip : CFrame -- Optional
]]
local params = {
relativeto = workspace.SpawnLocation,
FPS = 60,
partToAnimate = racecar,
offset = Vector3.new(0, 0, 0),
}
task.wait(1)
animation:PlayAnimation(params)
So this code basically is setting up a new animation object which takes the folder that the plugin generated for us, and then in order to play it we have to pass paramaeters to it, one thing to note that is sometimes I still have yet to figure out why sometimes theres a mesh that is completely flipped on the Y axis rotation so, the flip allows you too adjust it for the specific animation!
If anyone any questions or needs helps setting it up, then feel free to reply to this post, good luck with your animations!