Comparing Module function speed vs. Bindable Event speed

Ok, I will read up on the wiki page and thanks.

Would there be any downsides from using SetDesiredAngle() over Transform, or are they fairly similar in their desired end goal?

I read that Transform is mostly meant for blending animations with custom animations in Lua. I am guessing there are many other use cases for it though.

Well, you can rotate/translate in 6 degrees of freedom with Transform. DesiredAngle only allows 1 degree of freedom. I don’t know how well it’ll be supported in the future, either.

Yes, I noticed that it was very limited in that respect. I had to change the C0 rotation matrix to get the desired effect. I am just having trouble getting Transform to work properly; it just seems to immediately change the rotation of the door without translating it (I must being doing something wrong).

Oh, it does change immediately. You’ll want to animate the changing of that property yourself. TweenService works wonders here.

Edit: I got it working properly! :grinning: Also, using TweenService with Transform is especially great since there are so many other cool properties you can apply such as easing types; since doors don’t open and stop linearly in real life (at least the ones I know of).

I see, I will try doing that. Thanks

There’s not much performance difference. The difference is mostly in organization and speed of development. There is possibly some small performance gain on startup since you don’t have to run a script in every object.

If it wasn’t made clear by @buildthomas, you can set tags in Studio with a plugin and the tags save. You seem to be operating under the assumption that you still need a script in each object to tag it. You don’t. You can tag an object in Studio, then have one script do all of the script stuff when the game runs.

Additionally, tags automatically replicate from server to client. _G does not. You can set tags in Studio, then put all of your programming for the objects in one server script and one client script.

You can find tag editor plugins by searching for them. I’d link you the search, but Roblox still hasn’t deleted all of PluginCreator’s malware from the Plugins section.

Here are links to the three plugins I’m aware of:

1 Like