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!