#Ridigbody movement teleporting/stuttering on other players screen

64 messages · Page 1 of 1 (latest)

subtle talon
#

Please show replicate code for how you are moving rigigbody

tight thunder
#

to the rigidbody

#

im not using replicate and reconcile

tight thunder
#

i set the rigidbody to this for other players

#

and it definatly helped

#

but now when im rotating my character does this little jitter

#

its really tiny

#

would it be because of this?

#

see how it jitters a little bit?

subtle talon
#

@tight thunder for prediction you should use the predictionRigididbody object to add force. Look at example code

tight thunder
#

should i?

subtle talon
#

Oh sorry I misread that haha

tight thunder
#

what could be the issue then

calm mica
# tight thunder

Does changing the Interpolation and Extrapolation values help?

#

Actually if you remove the NetworkTransform, does it still have those little movement drops?

tight thunder
tight thunder
#

but then the movement looks too slobby

#

am i gonna have to look into prediction?

calm mica
tight thunder
#

i will give u all the necessary details once i get home

tight thunder
#

the players

#

this is what i do in my movement script

#

i set the rigidbody to kinematic and turn off interpolation and gravity for other clients

#

so that the network transform can move the player around properly

tight thunder
#

@calm mica any idea?

calm mica
tight thunder
#

im following the tutorial on prediction

#

because i decided im going to need it in the future

calm mica
#

Oh, but that is using server auth instead of client auth

tight thunder
#

yeah i know

tight thunder
#

cause if i can then i'll go back to that

tight thunder
#

alright i will try the prediction then

#

i will let you know if i run into some issues

tight thunder
#

can i pass methods into replicate?

#

for the code to be less clamped together

#

im pretty sure i can just making sure

calm mica
tight thunder
#

i tried deleting the post but it ended up deleting the original message

#

anyways this hasnt really been solved since i moved onto prediction

#

but yeah i dont need help with this issue anymore thanks

burnt bronze
#

I could never get rigidbody interpolation to work when using fishnet controlled ticks until I added a MonoTickSmoother to the object

burnt bronze
#

Probably the graphical object, but I'm at work and dont remember 100%

tight thunder
burnt bronze
tight thunder
#

unity

burnt bronze
#

Makes sense it would work without then

tight thunder
#

it wasnt before