Skip to main content

#VRCPlayerApi

Methods

Name notes
IsPlayerGrounded()
  • It returns true on the station.
  • If the player is in station [seated: false],
    • Afterafter the player opens the MM, it returns false until the player exits the seat and hits the ground.
      • It also means that the avatar plays the falling animation.
    GetTrackingData()
    • It's not working as written onin the docs when called in LateUpdate(). You have to call it on PostLateUpdate().
    • If you call this for a remote player:player, return the bone position. I didn't test about Generic avatar, but...
    GetBonePosition()
    • It returns the local avatar's data.
      • So, if you use it as a reference point, there are problems because there is thea fallback system.
    GetBoneRotation()

    Same toas GetBonePosition().

    TeleportTo()

    There is a strange bug. The occurrence condition is unknown,unknown. The players sometimes get stuck in the walls.