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

NetworkTransform.grounded

public bool grounded;

Description

Tells the NetworkTransform that it is on a surface (this is the default).

Object that are NOT grounded will not interpolate their vertical velocity. This avoid the problem of interpolation fighting with gravity on non-authoritative objects. This only works for RigidBody2D physics objects.

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