Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by TwoTen · Jun 16, 2016 at 06:07 AM · movementnetworkingtransformmultiplayerinterpolation

Network Trasnform Interpolation Factor

So I am using the Network Transform and I have the Syncmode set to Sync Character Controller. And when i put my Send rate to 9 it becomes very jumpy. And when I run latency simulation I start noticing that it's litterarly not doing any Interpolation, It's just updating everytime it gets an update. But there is interpolation built in so I tried to play around with it. I set the Interpolate Movement Factor to lower than 1 0.5 ish and it started teleporting all over the place and just got alot worse. So i did 0.9 and got similar effect just not as much. So I thought to myself maybe I should put it above 1. And trying that resoluted in a exactly the same result. The only value that actually doesn't look horrible is 1 and that appears to be Interpolation off. So how does this factor work? What values does what?. The documentation is totally horrible. The values you can change on the Network Trasnform doesn't match up with whats actually in unity. Interpolate Movement Factor isn't even listed in the Documentation.

Does anyone know how to get proper interpolation working for the network Trasnform without having to send 29 messages a second and make it look decent on players with high latency.

Very happy for answers - TwoTen

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image TwoTen · Jun 18, 2016 at 12:49 PM 0
Share

Anyone knows how this works?

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by IgorAherne · May 03, 2017 at 03:40 AM

Basically, NetworkTransform will only nterpolate an object's position if it also has a rigidbody component on it.

Rigidbody must have isKinematic = false;

NetworkTransform must be set-up to be working with Rigidbody3D

Otherwise you can create your own script which makes estimations on future positions. Or tries to lerp to the most recently obtained position, like shown in one of the posted scripts in this forum thread.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Creepgin · Sep 14, 2017 at 07:24 PM 0
Share

Also remember to set Interpolate to "Interpolate" on the Rigidbody component. By default, it's set to "None".

avatar image
0

Answer by hensoup · Oct 02, 2016 at 05:41 AM

using Movement Threshold the reason for the snappy movement is it keeps snapping to a certain distance. should be set a lot lower.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Mr-Slat · Sep 17, 2018 at 08:50 AM 0
Share

A lot higher!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity networking tutorial? 6 Answers

Network Movement Sync Very jumpy. 0 Answers

How do I add gravity to my object, and how do I fix my network problem? 1 Answer

NetworkTransform not interpolating? 0 Answers

Network Transform Slow Rotations 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges