Skip to content

function setPlayerAngle (client-side)

Available since version: 0.0.1

This function will set the hero/npc facing rotation on y axis.

Declaration

void setPlayerAngle(int id, float angle)

Parameters

  • int id: the player id.
  • float angle: the facing rotation on y axis.