Rat32 Posted February 18, 2017 Share Posted February 18, 2017 Hello. triggerServerEvent per frame is good way to move object serverside smoothly? I have no idea more. Link to comment
Mr.Loki Posted February 18, 2017 Share Posted February 18, 2017 (edited) Use moveObject to move stuff even smoother than render also that's a bad idea you will timeout your server because of the high bandwidth usage. Edited February 18, 2017 by Mr.Loki 1 Link to comment
Rat32 Posted February 19, 2017 Author Share Posted February 19, 2017 I will create deck gun that will can move this with arrows. moveObject is not good, because I don't know time argument. Any suggestions? 1 hour ago, Mr.Loki said: Use moveObject to move stuff even smoother than render also that's a bad idea you will timeout your server because of the high bandwidth usage. Link to comment
NeXuS™ Posted February 20, 2017 Share Posted February 20, 2017 (edited) moveObject with a low tick number, and just use that one over and over. Edited February 20, 2017 by Patrik91 Link to comment
Syntrax# Posted February 20, 2017 Share Posted February 20, 2017 On 19-2-2017 at 01:45, Tasumi said: I will create deck gun that will can move this with arrows. moveObject is not good, because I don't know time argument. Any suggestions? moveObject is smoother then just on client render, just calculate the distance to the point it has to move to and use some simple maths to gain the time of the object till it moves to that location For example s = distance (m) v = velocity (km/h) t = time (seconds) s = v * t so basically Distance = Velocity * time In order to get the time use Distance / Velocity (Speed of how fast you want it to move) = Time Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now