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: BodyMover lagging in game

Previous Thread :: Next Thread 
HeIix is not online. HeIix
Joined: 19 Jan 2013
Total Posts: 253
30 Jul 2017 03:13 PM
I'm trying to use a bodymover to make the character fly to their mouse. In studio, it works fine, but it lags in game when there are multiple people in the server.

I've determined the lag comes from constantly getting the player's mouse aim, sending it to the server, and then repeatedly updating the bodymover to make the player fly towards their mouse.

Is there any way to eliminate the lag from this so the bodymover works correctly?


‍ ‍ ‍                                            ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍
Report Abuse
HeIix is not online. HeIix
Joined: 19 Jan 2013
Total Posts: 253
30 Jul 2017 03:19 PM
bump


‍ ‍ ‍                                            ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍
Report Abuse
cabbler is not online. cabbler
Joined: 19 Jun 2015
Total Posts: 735
30 Jul 2017 03:21 PM
do it on the client.
Report Abuse
HeIix is not online. HeIix
Joined: 19 Jan 2013
Total Posts: 253
30 Jul 2017 03:21 PM
Game is FE, so wouldnt the position of the character not replicate to other clients then?


‍ ‍ ‍                                            ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍
Report Abuse
cabbler is not online. cabbler
Joined: 19 Jun 2015
Total Posts: 735
30 Jul 2017 03:24 PM
Characters always replicate.
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