Tweenservice door open or animation door open? Which is smoother?

Hello, so I need some feedback on this.

I’ve been thinking lately, tweening can make some really smooth movements and so can animating but we all know when it is actually put into the game, the amount of storage in the game can ruin the way smooth movements work. Also, making an animated door instead of tweening could use less scripting.

Which would be better to do?

5 Likes

I used tweenservice on my door, it’s a lot more efficient and smoother.

4 Likes

you could also use constraints which replicate nicely

2 Likes

I’m pretty sure I animated my door (not 100% though, I will check tomorrow). It works extremely good to me. If you wish to test out my door, then let me know.

1 Like

I’m not sure what you mean by animation door, could you clarify? Besides that, using Tweens, based on what I’ve seen and read should not greatly impact the performance of your game (Make sure to run it on client-side though!).

1 Like

I personally find animation editor much easier and generally smoother for most animations

2 Likes

Oh, simple. Using animation editor to make a door open or close than to use tweening to make the door open and close

1 Like

As @FragmentFour stated, a HingeConstraint set to Servo with a simple script to set the DesiredAngle works well.
I have a simple one as a free model door:

1 Like

You could do synchronized client tweening using remotes

That’s what I’ve done. Works really good!

Yes, since you have network ownership of the door it works really well for the person who activates it.

TweenService is super crisp. Highly recommend.

You can use anyone and it will look smooth, just ensure your doing it on the client and not on the server. Tweens may be good for simple animations, but if you need a more complex animation then make custom animation for it.

Is actually pretty fair, when you are twinning a door, you are basically animating it. Yes, it might take some space up in your game but what about using a script and turning the door’s position instead? Wouldn’t the script have to be run line by line and would be longer and very unsmooth? Not to say that it is also very inconvenice and will probely take up the same space as tweening does, so I suggest using tweening instead.

I think animating it would be a little bit harder because it doesn’t behave like a humanoid and you have to set all the stuff up that’s needed.

I used tweening for my door.

Yes, that’s what TweenService is for.

Yes, but its impractical to do, and it will take more effort into just making the animation than using TweenService.

For what you need, TweenService is a perfect solution for you.

The reason why you want to use TweenService over Physical solutions is that it will create less impact on physics calculations, as the TweenService doors won’t be affected by physics because they are anchored.


You can use an TweenDoorExample.rbxl (23.5 KB) that I made, which you can download and use it. You don’t even need to touch the Script, as you can easily tweak the values by changing them in Configuration folder.

1 Like

Thanks for the feedback!

“Yes, but its impractical to do, and it will take more effort into just making the animation than using TweenService .”

As an animator, making a door animation doesn’t take much effort at all. If I rig a door and put it on blender to animate, it can definitely be done under 3-10 minutes depending on how realistic you want the door to open.

1 Like

It depends, if it’s just opening the door and no special animations are required to be made, then TweenService is way to go, however if you want some fancy animations for the doors, then sure go for Animation based solution.

1 Like

You are 100% right. Animating a door has more of an advantage especially if you want to make the door slam open, hit the wall, and bounce forward again. A simple door opening should probably be done using Tween.

Another reason why I asked these questions are because I only know little scripting, but I can animate. Animating a door opening and making it play when the click detector goes off sounds really easy for me

1 Like

I’ve provided an example place, so it should help :happy1:.

1 Like