Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

NetworkTransform.snapThreshold

public float snapThreshold;

Description

If a movement update puts an object further from its current position that this value, it will snap to the position instead of moving smoothly.

Did you find this page useful? Please give it a rating: