Legacy Documentation: Version 5.6 (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.