generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: TweenService vs BodyVelocity

Previous Thread :: Next Thread 
ChiefDays is not online. ChiefDays
Joined: 26 Sep 2016
Total Posts: 502
30 Jul 2017 02:48 AM
If i use BodyVelocity in a lagging server it'll resulting in a really weird motion, literally goes x10 slower than it should.

So what i come up is to use TweenService, and change the cframe with it, but i haven't tested it yet and i don't know how'd it work performance-wise.

My goal is to have more performance.


Report Abuse
Vultorz is not online. Vultorz
Joined: 02 Mar 2015
Total Posts: 2985
30 Jul 2017 02:49 AM
I like to use TweenService, it works well for me.

I haven't touched BodyVelocity much, so I'm not sure.
Report Abuse
szkiller_dev is not online. szkiller_dev
Joined: 07 Oct 2016
Total Posts: 3572
30 Jul 2017 03:03 AM
I don't know much about TweenService,

But I think TweenService is more better comparison to BodyVelocity which updates the part.
Report Abuse
Rinem is online. Rinem
Joined: 05 Jan 2014
Total Posts: 255
30 Jul 2017 03:37 AM
I've heard good things about tweenservice, it being newer and more efficient. I never got around to using it, tho


dabbin' on the haters
Report Abuse
ChiefDays is not online. ChiefDays
Joined: 26 Sep 2016
Total Posts: 502
30 Jul 2017 04:35 AM
I used TweenService+BodyPosition, Result:
No lag. Didn't expect to be this smooth tbh.


Report Abuse
szkiller_dev is not online. szkiller_dev
Joined: 07 Oct 2016
Total Posts: 3572
30 Jul 2017 05:04 AM
Its taking too much lines just to make a simple tween
Report Abuse
Briicks is online. Briicks
Joined: 03 Apr 2015
Total Posts: 1796
30 Jul 2017 05:30 AM
it takes one line to make a tweenservice....


Report Abuse
ChiefDays is not online. ChiefDays
Joined: 26 Sep 2016
Total Posts: 502
30 Jul 2017 05:33 AM
game:GetService("TweemService"):Create(Instance, TweenInfo.new(1), {Something = Value}):Play()

Is it that hard?


Report Abuse
szkiller_dev is not online. szkiller_dev
Joined: 07 Oct 2016
Total Posts: 3572
30 Jul 2017 05:39 AM
Lol omg,

I forgot that I could just leave all of the tweeninfo's arguments except the len gth xDD thx for reminding me
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image