Hi,
I'm trying to animate bus doors using the Roblox animator plugin. However, obviously that plugin was designed in mind for animating dummies, not models. I've tried following several guides of "hacking" it but I cannot get it to work.
Does anyone have any tips or a guide to do this?
I'm looking for something like the trains in TrainWare, where their train doors are animated. (You cannot use CFrame, as it glitches out the vehicle, I'm also trying not to use motors as I want a cleaner animation).
https://devforum.roblox.com/t/complete-guide-to-rigging-and-animating-models/315258/4 This should work
You can't use animation plugin to animate models, but you can use motor6d's
, as dummies animations work with it and it'll give you a smooth door opening animation without glitching. Either you can iterate Motor6D.C0
cframe to rotate the door or you can try rotating it with Motor6D:SetDesiredAngle()
.
There's not much information about it, so go do some science :)
Here's some info: https://developer.roblox.com/en-us/api-reference/class/Motor6D
Don't forget that if bus model and door are colliding it'll not work, so you should use no part collision constraint
.
Just a tip: if you're using iteration, the faster you iterate, smoother the animation.